From 145f84415a7070bd432ffeb2a34843ee760054e8 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 18 Dec 2024 14:07:39 +0000 Subject: [PATCH] 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` --- hosts/architect/sunshine.nix | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/hosts/architect/sunshine.nix b/hosts/architect/sunshine.nix index ce12e99..c5cf209 100644 --- a/hosts/architect/sunshine.nix +++ b/hosts/architect/sunshine.nix @@ -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