From 558f32ad718090f2b2dc1196285e2f444a9e6892 Mon Sep 17 00:00:00 2001 From: Marcus Ingelborn <3088117-MrIngelborn@users.noreply.gitlab.com> Date: Wed, 1 Oct 2025 15:06:31 +0200 Subject: [PATCH] Gnome: xserver removed in module name --- modules/nixos/gnome/default.nix | 12 ++++++++---- modules/nixos/snowflakeos/gnome.nix | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/nixos/gnome/default.nix b/modules/nixos/gnome/default.nix index 678a735..acafff9 100644 --- a/modules/nixos/gnome/default.nix +++ b/modules/nixos/gnome/default.nix @@ -15,10 +15,14 @@ in config = { # Enable the GNOME Desktop Environment. - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; - services.xserver.enable = true; - services.xserver.displayManager.gdm.wayland = true; + services = { + xserver.enable = true; + displayManager.gdm = { + enable = true; + wayland = true; + }; + desktopManager.gnome.enable = true; + }; # Fix GNOME autologin systemd.services."getty@tty1".enable = false; diff --git a/modules/nixos/snowflakeos/gnome.nix b/modules/nixos/snowflakeos/gnome.nix index 3735925..7f8617e 100644 --- a/modules/nixos/snowflakeos/gnome.nix +++ b/modules/nixos/snowflakeos/gnome.nix @@ -28,7 +28,7 @@ in config = lib.mkIf config.snowflakeos.gnome.enable { snowflakeos.graphical.enable = true; - services.xserver.desktopManager.gnome = { + services.desktopManager.gnome = { favoriteAppsOverride = lib.mkDefault '' [org.gnome.shell] favorite-apps=[ 'firefox.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Calendar.desktop', 'org.gnome.Nautilus.desktop', 'dev.vlinkz.NixSoftwareCenter.desktop' ]