diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-24 22:06:20 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-24 22:06:20 +0200 |
commit | a6525f37bc56d32472359628304a3430ae1e1071 (patch) | |
tree | 588d88f5ba68bfb2f627b681d52f52af24430261 /hosts/home.nix | |
parent | Set XDG env variables (diff) | |
download | nixos-config-a6525f37bc56d32472359628304a3430ae1e1071.tar.gz nixos-config-a6525f37bc56d32472359628304a3430ae1e1071.tar.bz2 nixos-config-a6525f37bc56d32472359628304a3430ae1e1071.zip |
Add screen locker
Diffstat (limited to 'hosts/home.nix')
-rw-r--r-- | hosts/home.nix | 7 |
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 = { |