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:
parent
5925e20119
commit
145f84415a
@ -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 = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
wayland.enable = false;
|
||||
autoLogin.relogin = true;
|
||||
};
|
||||
videoDrivers = [ "nvidia" ];
|
||||
desktopManager.gnome.enable = true;
|
||||
displayManager = {
|
||||
gdm = {
|
||||
enable = true;
|
||||
autoSuspend = false;
|
||||
autoLogin = {
|
||||
inherit user;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
desktopManager.xfce.enable = true;
|
||||
defaultSession = "gnome-xorg";
|
||||
};
|
||||
|
||||
monitorSection = ''
|
||||
HorizSync 5.0 - 1000.0
|
||||
|
Loading…
Reference in New Issue
Block a user