Merge pull request #217578 from eduarrrd/pam

PAM service fixups for plasma5 and sddm
This commit is contained in:
K900 2023-02-22 16:30:02 +03:00 committed by GitHub
commit 8a678a16f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View file

@ -379,12 +379,7 @@ 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;
security.pam.services.login.enableKwallet = true;
systemd.user.services = {
plasma-early-setup = mkIf cfg.runUsingSystemd {

View file

@ -215,10 +215,12 @@ in
};
security.pam.services = {
sddm = {
allowNullPassword = true;
startSession = true;
};
sddm.text = ''
auth substack login
account include login
password substack login
session include login
'';
sddm-greeter.text = ''
auth required pam_succeed_if.so audit quiet_success user = sddm