remove redundant if

This commit is contained in:
Mathijs Kwik 2013-04-01 12:15:36 +02:00
parent 3c8d95f726
commit fd6b48783d
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ in
# Enable helpful DBus services.
services.udisks.enable = true;
services.upower = mkIf config.powerManagement.enable { enable = true; };
services.upower.enable = config.powerManagement.enable;
security.pam.services = [ { name = "kde"; allowNullPassword = true; startSession = true; } ];