Move HM modules
This commit is contained in:
parent
5db76d0fed
commit
3cf0004b78
110 changed files with 403 additions and 564 deletions
8
modules/hm/screen_locker.nix
Normal file
8
modules/hm/screen_locker.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
services.screen-locker = {
|
||||
enable = true;
|
||||
lockCmd = "${pkgs.lockscreen}/bin/lockscreen";
|
||||
inactiveInterval = 2; # minutes
|
||||
xautolock.extraOptions = [ "-secure" "-lockaftersleep" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue