aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-06-30 22:04:43 +0200
committerAdrian Kummerlaender2018-06-30 22:04:43 +0200
commitaccc8d489a54489f757cd10eb128e9a8c1042d9c (patch)
treeb4ca63d2b8c35b675fb522e1a44646553d3aa735
parent435ed0d2023f31cdaf18419696e067f69f36b234 (diff)
downloadnixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar.gz
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar.bz2
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar.lz
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar.xz
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.tar.zst
nixos_home-accc8d489a54489f757cd10eb128e9a8c1042d9c.zip
Setup automatic session locking
-rw-r--r--gui/xmonad.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/xmonad.nix b/gui/xmonad.nix
index 3586747..bf7c0d5 100644
--- a/gui/xmonad.nix
+++ b/gui/xmonad.nix
@@ -26,4 +26,9 @@
# lockscreen
pkgs.i3lock
];
+
+ services.screen-locker = {
+ enable = true;
+ lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
+ };
}