You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
409 B

{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
physlock
];
# Set sudo to use user home
security.sudo.extraConfig = ''
Defaults !always_set_home
Defaults env_keep+="HOME"
'';
services = {
# Configure physlock
physlock = {
enable = true;
user = "taylor";
lockOn = {
suspend = true;
hibernate = true;
};
};
};
}