diff options
1 files changed, 7 insertions, 0 deletions
| -rw-r--r-- | services.nix | 7 |
diff --git a/services.nix b/services.nix index aa99f57..61b4cd5 100644 --- a/services.nix +++ b/services.nix @@ -47,6 +47,13 @@ # touchpad support libinput.enable = true; libinput.touchpad.naturalScrolling = true; + + xautolock = { + enable = true; + time = 15; + locker = "/home/kamen/.a/sys/lock.sh"; + extraOptions = [ "-detectsleep" "-lockaftersleep" "-secure" ]; + }; }; }; } |
