From 2ca5a88f8e7396b022ae7345f6a2592cb0301187 Mon Sep 17 00:00:00 2001 From: Eduard Bachmakov Date: Tue, 21 Feb 2023 22:27:27 +0100 Subject: [PATCH] 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. --- nixos/modules/services/x11/desktop-managers/plasma5.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index ab666ba39490..9a26681d1f92 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 = {