summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-07-17 17:43:44 +0530
committersinanmohd <sinan@sinanmohd.com>2023-07-17 17:46:09 +0530
commit981e50ae2d62e24ddf064aca4304be85caa6bba8 (patch)
tree7ad8c3f59f23f18ac46669b1b42e658d59bb5eff
parent55f06afcf0956c2b41a0bd6a7008cee6f72ba841 (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";
+ };
}