about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/home.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index d39f3ac..34a8b34 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -29,6 +29,7 @@ in
       nixpkgs-fmt
       virt-manager
       xdotool #needed for xmobar clickable workspaces
+      xlockmore
     ] ++
     (with pkgs.custom; [
       smart-wallpaper
@@ -68,6 +69,12 @@ in
       enable = true;
       startWithUserSession = true;
     };
+
+    screen-locker = {
+      enable = true;
+      lockCmd = "${pkgs.xlockmore}/bin/xlock -mode blank";
+      xautolock.enable = false;
+    };
   };
 
   programs = {