mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.gnome.gparted" || // for gnome
|
||||
action.id == "org.freedesktop.policykit.exec") && // for desktop, nekoray
|
||||
subject.isInGroup("wheel")){ // for sudo
|
||||
if (subject.isInGroup("wheel")){ // for sudo
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user