fixing xdg stuff
This commit is contained in:
parent
2afbfc975f
commit
28ec24b51a
3 changed files with 12 additions and 5 deletions
|
@ -29,7 +29,7 @@
|
|||
profiling = false;
|
||||
extraAliases = {
|
||||
cls = "clear";
|
||||
|
||||
Hyprland = "dbus-run-session Hyprland";
|
||||
};
|
||||
ohmyzsh = {
|
||||
enable = true;
|
||||
|
|
|
@ -22,8 +22,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = mkIf cfg.nvidia.enable {
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = mkIf cfg.nvidia.enable {
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
|
@ -38,11 +38,16 @@ in {
|
|||
GTK_USE_PORTAL = "1";
|
||||
NIXOS_XDG_OPEN_USE_PORTAL = "1";
|
||||
};
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal.wlr.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
xdg.portal.config.common.default = "gtk";
|
||||
|
||||
xdg.portal.lxqt.enable = false;
|
||||
systemd.user.services.xdg-desktop-portal-gnome.enable = false;
|
||||
|
||||
|
|
|
@ -53,6 +53,8 @@ in {
|
|||
wl-clipboard
|
||||
pavucontrol
|
||||
wofi
|
||||
dolphin
|
||||
xdg-utils # xdg-mime script
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue