mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/personal-computer/users.nix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user