From 13d6273acd5dca9181a169646c118e0aa81f3343 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 23 Sep 2023 23:22:57 +0300 Subject: [services] Configured xautolock --- services.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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" ]; + }; }; }; } -- cgit v1.3.1-26-gb76a