Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 7 insertions, 0 deletions
-rw-r--r--services.nix7
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" ];
+ };
};
};
}