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
This commit is contained in:
22
common.nix
22
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user