summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 59285cda..a859ca21 100644
--- a/hel.nix
+++ b/hel.nix
@@ -315,6 +315,7 @@
315 enable = true; 315 enable = true;
316 extraConfig = '' 316 extraConfig = ''
317 polkit.addRule(function(action, subject) { 317 polkit.addRule(function(action, subject) {
318 polkit.log("Custom rule got called");
318 if ( action.id == "org.freedesktop.systemd1.manage-units" 319 if ( action.id == "org.freedesktop.systemd1.manage-units"
319 && subject.isInGroup("admin") 320 && subject.isInGroup("admin")
320 ) { 321 ) {