about summary refs log tree commit diff stats
path: root/modules/by-name/sw
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/sw')
-rw-r--r--modules/by-name/sw/swaylock/module.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/by-name/sw/swaylock/module.nix b/modules/by-name/sw/swaylock/module.nix
new file mode 100644
index 00000000..6cbcef28
--- /dev/null
+++ b/modules/by-name/sw/swaylock/module.nix
@@ -0,0 +1,4 @@
+{...}: {
+  # otherwise swaylock can't access the user password.
+  security.pam.services.swaylock = {};
+}