From 04afcfc0684d9bbb24bb1dc77afda7c1843ec93b Mon Sep 17 00:00:00 2001 From: Kasper Date: Sat, 26 Oct 2024 10:24:33 -0700 Subject: [PATCH] gnome: fix GDM theme not applying when Gnome is disabled (#598) --- modules/gnome/nixos.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gnome/nixos.nix b/modules/gnome/nixos.nix index bddb33c..c10bf8a 100644 --- a/modules/gnome/nixos.nix +++ b/modules/gnome/nixos.nix @@ -12,7 +12,8 @@ in { config = lib.mkIf ( config.stylix.enable && config.stylix.targets.gnome.enable - && config.services.xserver.desktopManager.gnome.enable + && (config.services.xserver.desktopManager.gnome.enable || + config.services.xserver.displayManager.gdm.enable) ) { # As Stylix is controlling the wallpaper, there is no need for this # pack of default wallpapers to be installed.