nvidia: move configurations in respective files

This commit is contained in:
Christoph Hollizeck 2024-11-06 09:45:25 +01:00
parent 9dfaa540fe
commit f7ef29c416
Signed by: Daholli
GPG key ID: 1763BB530F50279E
3 changed files with 30 additions and 15 deletions

View file

@ -114,12 +114,6 @@ in
{
"$mod" = "SUPER";
env = [
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM,wayland;xcb"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
];
exec-once = [
"${pkgs.hyprpanel}/bin/hyprpanel"
"systemctl --user start hyprpolkitagent"
@ -311,7 +305,19 @@ in
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
NIXOS_OZONE_WL = "1"; # Hint electron apps to use wayland
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "Hyprland";
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
QT_QPA_PLATFORM = "wayland;xcb";
ELECTRON_OZONE_PLATFORM_HINT = "auto";
WLR_DRM_NO_ATOMIC = "1";
};
};
}