about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEduard Bachmakov <eduarrrd@users.noreply.github.com>2023-02-21 22:27:27 +0100
committerEduard Bachmakov <eduarrrd@users.noreply.github.com>2023-02-21 22:28:32 +0100
commit2ca5a88f8e7396b022ae7345f6a2592cb0301187 (patch)
tree7235990627cc114a00f5b6a8cc89414c096811d8 /nixos
parent15333cc314d0fb56c6b49127d20b3d87a5aab4b1 (diff)
nixos/plasma5: remove non-existant/unused PAM service configs.
This removes two unused service configs from /etc/pam.d/ and, more
importantly, reduces confusion.

* kdm no longer exists in nixpkgs
* `pam.d/gdm` is not used by gdm
* `pam.d/lightdm` IS used by lightdm but hardcoded using .text rather
  than attrset+template.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index ab666ba394902..9a26681d1f927 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -379,11 +379,6 @@ in
 
       security.pam.services.kde = { allowNullPassword = true; };
 
-      # Doing these one by one seems silly, but we currently lack a better
-      # construct for handling common pam configs.
-      security.pam.services.gdm.enableKwallet = true;
-      security.pam.services.kdm.enableKwallet = true;
-      security.pam.services.lightdm.enableKwallet = true;
       security.pam.services.sddm.enableKwallet = true;
 
       systemd.user.services = {