nvidia: move configurations in respective files

This commit is contained in:
Christoph Hollizeck 2024-11-06 09:45:25 +01:00
parent 2c3bb91cdc
commit 6325aaf5ef
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 30 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"
@ -316,7 +310,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";
};
};
}