summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-17 17:43:44 +0530
committersinanmohd <sinan@firemail.cc>2023-07-17 17:46:09 +0530
commit3cef7beb464ffc10f45b3126119adedf807998aa (patch)
tree7ad8c3f59f23f18ac46669b1b42e658d59bb5eff
parente889a436e4382044c641c861797631275fb23338 (diff)
wayland: fix swaylock, missing pam configuration
-rw-r--r--features/wayland.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/features/wayland.nix b/features/wayland.nix
index 66a29a3..b22bac7 100644
--- a/features/wayland.nix
+++ b/features/wayland.nix
@@ -111,5 +111,8 @@ in
};
};
- security.polkit.enable = true;
+ security = {
+ polkit.enable = true;
+ pam.services.swaylock.text = "auth include login";
+ };
}