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