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";
|
execCmd = "exec ${pkgs.slim}/bin/slim";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow null passwords so that the user can login as root on the
|
security.pam.services =
|
||||||
# installation CD.
|
[ # Allow null passwords so that the user can login as root on the
|
||||||
security.pam.services = [ { name = "slim"; allowNullPassword = true; startSession = true; } ];
|
# installation CD.
|
||||||
|
{ name = "slim"; allowNullPassword = true; startSession = true; }
|
||||||
|
|
||||||
|
# Allow slimlock to work.
|
||||||
|
{ name = "slimlock"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.slim ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user