Add support for slimlock, slim's simple screen locker
This commit is contained in:
parent
873662b8ad
commit
5b702be29f
@ -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 ];
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user