From 85ef9180b21f756cb2f3654b1db416dbda5139f3 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Mon, 15 Sep 2025 14:19:42 +0200 Subject: [PATCH] fix: update GNOME configuration for NixOS changes - Use renamed displayManager.autoLogin options (moved from gdm-specific) - Disable GNOME welcome tour via extraGSettingsOverrides - Move autoLogin config outside xserver block for newer NixOS compatibility --- common.nix | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/common.nix b/common.nix index b881e5c..eb1710f 100644 --- a/common.nix +++ b/common.nix @@ -1214,12 +1214,20 @@ isoConfig services.xserver = { enable = true; desktopManager.gnome.enable = true; - displayManager.gdm = { - enable = true; - autoLogin = { - enable = true; - user = "workshop"; - }; - }; + displayManager.gdm.enable = true; + }; + + # Auto-login configuration (renamed in newer NixOS) + services.displayManager.autoLogin = { + enable = true; + user = "workshop"; + }; + + # Disable GNOME welcome tour + services.xserver.desktopManager.gnome = { + extraGSettingsOverrides = '' + [org.gnome.tour] + enable-autostart=false + ''; }; }