refactor(sunshine.nix): switch from XFCE to GNOME and modify display manager settings

- Replaced XFCE with GNOME as the desktop manager
- Updated `displayManager` configuration to use GDM instead of SDDM
- Added `autoSuspend = false` for GDM
- Set `defaultSession` to "gnome-xorg"
- Disabled `NetworkManager-wait-online` service using `mkForce`
This commit is contained in:
Giulio De Pasquale 2024-12-18 14:07:39 +00:00
parent 5925e20119
commit 145f84415a

View File

@ -48,7 +48,7 @@ in
nvidiaSettings = true;
};
};
systemd.services.NetworkManager-wait-online.enable = pkgs.lib.mkForce false;
programs.steam = {
enable = true;
gamescopeSession.enable = true;
@ -114,22 +114,21 @@ in
};
};
displayManager = {
sddm = {
enable = true;
wayland.enable = false;
autoLogin.relogin = true;
};
autoLogin = {
inherit user;
enable = true;
};
};
xserver = {
enable = true;
videoDrivers = [ "nvidia" ];
desktopManager.xfce.enable = true;
desktopManager.gnome.enable = true;
displayManager = {
gdm = {
enable = true;
autoSuspend = false;
autoLogin = {
inherit user;
enable = true;
};
};
defaultSession = "gnome-xorg";
};
monitorSection = ''
HorizSync 5.0 - 1000.0