aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/wayland.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-06-28 20:02:54 -0700
committerMark Nipper <nipsy@bitgnome.net>2025-06-28 20:02:54 -0700
commit3cf0e93441fc2aec93778d795f644349f9d72465 (patch)
tree26b785da7cdfb928569eaaef8d4abf6da9172353 /hosts/common/optional/services/wayland.nix
parent8ea1c77248cb042afa6217fdcaa5540eae348c63 (diff)
downloadnix-3cf0e93441fc2aec93778d795f644349f9d72465.tar
nix-3cf0e93441fc2aec93778d795f644349f9d72465.tar.gz
nix-3cf0e93441fc2aec93778d795f644349f9d72465.tar.bz2
nix-3cf0e93441fc2aec93778d795f644349f9d72465.tar.lz
nix-3cf0e93441fc2aec93778d795f644349f9d72465.tar.xz
nix-3cf0e93441fc2aec93778d795f644349f9d72465.tar.zst
nix-3cf0e93441fc2aec93778d795f644349f9d72465.zip
Enable Google Authenticator for sddm
Diffstat (limited to 'hosts/common/optional/services/wayland.nix')
-rw-r--r--hosts/common/optional/services/wayland.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/hosts/common/optional/services/wayland.nix b/hosts/common/optional/services/wayland.nix
index a54a76e..aae6c8a 100644
--- a/hosts/common/optional/services/wayland.nix
+++ b/hosts/common/optional/services/wayland.nix
@@ -82,9 +82,13 @@
#};
security = {
- pam.loginLimits = [
- { domain = "@users"; item = "rtprio"; type = "-"; value = 1; }
- ];
+ pam = {
+ loginLimits = [
+ { domain = "@users"; item = "rtprio"; type = "-"; value = 1; }
+ ];
+
+ services.sddm-greeter.googleAuthenticator.forwardPass = true;
+ };
polkit = {
enable = true;