More fine grained functions
This commit is contained in:
parent
fae704eb48
commit
e5151e75ed
|
@ -19,7 +19,8 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
displayManager.background = mkOption {
|
lightdm.enable = mkEnableOption "Enables the LightDM display manager and config";
|
||||||
|
lightdm.background = mkOption {
|
||||||
default = ./images/city.png;
|
default = ./images/city.png;
|
||||||
type = types.path;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -48,7 +49,7 @@ in {
|
||||||
windowmaker.enable = true;
|
windowmaker.enable = true;
|
||||||
xmonad.enable = true;
|
xmonad.enable = true;
|
||||||
};
|
};
|
||||||
displayManager.lightdm = {
|
displayManager.lightdm = mkEnableOption cfg.lightdm.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
greeters.gtk.enable = true;
|
greeters.gtk.enable = true;
|
||||||
background = cfg.displayManager.background;
|
background = cfg.displayManager.background;
|
||||||
|
|
Loading…
Reference in a new issue