about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-15 02:05:55 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-15 02:05:55 +0200
commit38d25e2f6edca0c0fcb32c1340bafac7c9f4739c (patch)
tree74f8340f8409595cae20ddde9fe1ed109fb59562 /hosts/configuration.nix
parentAdd tmux program (diff)
downloadnixos-config-38d25e2f6edca0c0fcb32c1340bafac7c9f4739c.tar.gz
nixos-config-38d25e2f6edca0c0fcb32c1340bafac7c9f4739c.tar.bz2
nixos-config-38d25e2f6edca0c0fcb32c1340bafac7c9f4739c.zip
Add wayland idling/locking via sway(idle/lock)
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r--hosts/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 0a2c8a3..bb0817c 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -117,6 +117,13 @@
     wlr.enable = true;
   };
 
+  #fix swaylock
+  security.pam.services.swaylock = {
+    text = ''
+      auth include login
+    '';
+  };
+
   # List services that you want to enable:
   services = {
     openssh = {