aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
+ };
}