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