lightdm-gtk-greeter module: Fix error when lightdm disabled

This commit is contained in:
Timo Meijer 2015-11-30 19:03:15 +00:00 committed by Moritz Ulrich
parent 158e4ffd9c
commit 12ec6223f4

View file

@ -108,7 +108,7 @@ in
};
config = mkIf cfg.enable {
config = mkIf (ldmcfg.enable && cfg.enable) {
services.xserver.displayManager.lightdm.greeter = mkDefault {
package = wrappedGtkGreeter;