summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index a859ca21..6586568c 100644
--- a/hel.nix
+++ b/hel.nix
@@ -315,7 +315,8 @@
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 polkit.log("action.id = ยดยด" + action.id + "``");
319 polkit.log("subject.isInGroup(\"admin\") = " + subject.isInGroup("admin"));
319 if ( action.id == "org.freedesktop.systemd1.manage-units" 320 if ( action.id == "org.freedesktop.systemd1.manage-units"
320 && subject.isInGroup("admin") 321 && subject.isInGroup("admin")
321 ) { 322 ) {