mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/personal-computer/users.nix
This commit is contained in:
2026-01-14 17:28:27 +07:00
parent 7d9366e8bf
commit 32ead051e7

View File

@@ -3,11 +3,10 @@
users.mutableUsers = lib.mkForce true; users.mutableUsers = lib.mkForce true;
security.polkit.extraConfig = '' security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) { polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.accounts.change-own-password") { if ((action.id == "org.freedesktop.accounts.change-own-password")) {
if (subject.user == polkit.getUserForSubject(subject).getUserName()) { return polkit.Result.AUTH_SELF;
return polkit.Result.YES; }
}
}
}); });
''; '';
security.pam.services."sddm".kwallet.enable = true;
} }