nvidia: move configurations in respective files

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

View file

@ -117,12 +117,6 @@ in
{
"$mod" = "SUPER";
env = [
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM,wayland;xcb"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
];
exec-once = [
"systemctl --user start hyprpolkitagent"
@ -313,7 +307,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";
};
};
}