Add support for slimlock, slim's simple screen locker

This commit is contained in:
Eelco Dolstra 2013-10-15 13:21:58 +02:00
parent 873662b8ad
commit 5b702be29f

View File

@ -104,9 +104,16 @@ in
execCmd = "exec ${pkgs.slim}/bin/slim";
};
# Allow null passwords so that the user can login as root on the
# installation CD.
security.pam.services = [ { name = "slim"; allowNullPassword = true; startSession = true; } ];
security.pam.services =
[ # Allow null passwords so that the user can login as root on the
# installation CD.
{ name = "slim"; allowNullPassword = true; startSession = true; }
# Allow slimlock to work.
{ name = "slimlock"; }
];
environment.systemPackages = [ pkgs.slim ];
};