diff options
author | Adrian Kummerlaender | 2018-06-30 22:04:43 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-06-30 22:04:43 +0200 |
commit | accc8d489a54489f757cd10eb128e9a8c1042d9c (patch) | |
tree | b4ca63d2b8c35b675fb522e1a44646553d3aa735 /gui | |
parent | 435ed0d2023f31cdaf18419696e067f69f36b234 (diff) | |
download | nixos_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
Diffstat (limited to 'gui')
-rw-r--r-- | gui/xmonad.nix | 5 |
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"; + }; } |