This commit is contained in:
2025-10-08 21:30:48 +03:00
parent 99b35f6045
commit 48bd82b30f
6 changed files with 27 additions and 37 deletions
+5 -6
View File
@@ -34,12 +34,11 @@
polkit = {
enable = true;
extraConfig = ''
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")){ // for sudo
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")){ // for sudo
return polkit.Result.YES;
}
});
'';
};
};