idem ditto

This commit is contained in:
Nox Sluijtman 2023-12-27 13:30:49 +01:00
parent d6d0c5f3c0
commit f1aa0fd110

View file

@ -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 { lightdm.background = mkOption {
default = ./images/city.png; default = ./images/city.png;
type = types.path; type = types.path;
@ -49,7 +49,7 @@ in {
windowmaker.enable = true; windowmaker.enable = true;
xmonad.enable = true; xmonad.enable = true;
}; };
displayManager.lightdm = mkEnableOption cfg.lightdm.enable { displayManager.lightdm = mkIf cfg.lightdm.enable {
enable = true; enable = true;
greeters.gtk.enable = true; greeters.gtk.enable = true;
background = cfg.displayManager.background; background = cfg.displayManager.background;