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

@ -16,7 +16,7 @@ let
nepomukConfig = pkgs.writeTextFile nepomukConfig = pkgs.writeTextFile
{ name = "nepomuk-config"; { name = "nepomuk-config";
destination = "/share/config/nepomukserverrc"; destination = "/share/config/nepomukserverrc";
text = text =
'' ''
[Basic Settings] [Basic Settings]
Start Nepomuk=false Start Nepomuk=false
@ -156,7 +156,7 @@ in
# Enable helpful DBus services. # Enable helpful DBus services.
services.udisks.enable = true; 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; } ]; security.pam.services = [ { name = "kde"; allowNullPassword = true; startSession = true; } ];