summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-31 17:11:03 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-31 17:11:03 +0100
commit7b707adfccc94c8e364e931ed3464789119e24aa (patch)
treeb692994d1fad2b1c60d31abb718957a463671f6d
parentff86b518167bb87fc68b96f6d760a606ec237c09 (diff)
downloadnixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar
nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.gz
nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.bz2
nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.xz
nixos-7b707adfccc94c8e364e931ed3464789119e24aa.zip
debug polkit
-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 ) {