From f1aa0fd11062ce04d43131be65770941a2823ab4 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Wed, 27 Dec 2023 13:30:49 +0100 Subject: [PATCH] idem ditto --- modules/xconfig.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xconfig.nix b/modules/xconfig.nix index b107abd..1617009 100644 --- a/modules/xconfig.nix +++ b/modules/xconfig.nix @@ -19,7 +19,7 @@ in { ''; }; - lightdm.enable = mkIf "Enables the LightDM display manager and config"; + lightdm.enable = mkEnableOption "Enables the LightDM display manager and config"; lightdm.background = mkOption { default = ./images/city.png; type = types.path; @@ -49,7 +49,7 @@ in { windowmaker.enable = true; xmonad.enable = true; }; - displayManager.lightdm = mkEnableOption cfg.lightdm.enable { + displayManager.lightdm = mkIf cfg.lightdm.enable { enable = true; greeters.gtk.enable = true; background = cfg.displayManager.background;