* Ensure that the "kde" PAM module exists whn KDE is enabled.

Previously, this was only enabled in the KDM module, so if you were
  using a different display manager than KDM, stuff like getting out
  of the screensaver didn't work correctly.

svn path=/nixos/trunk/; revision=30049
This commit is contained in:
Eelco Dolstra 2011-10-26 21:47:03 +00:00
parent 021409b21f
commit 6e809242e9
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ in
services.udisks = mkIf isKDE47 { enable = true; }; services.udisks = mkIf isKDE47 { enable = true; };
services.upower = mkIf (isKDE47 && config.powerManagement.enable) { enable = true; }; services.upower = mkIf (isKDE47 && config.powerManagement.enable) { enable = true; };
security.pam.services = [ { name = "kde"; } ];
}; };
} }