diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 17:12:42 +0100 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 17:12:42 +0100 |
| commit | f3e5684e425eb85fed68e38fe38eba698e0c8859 (patch) | |
| tree | 9b2f37916a4f28c41a39325e7dd52a09712d5da3 | |
| parent | 7b707adfccc94c8e364e931ed3464789119e24aa (diff) | |
| download | nixos-f3e5684e425eb85fed68e38fe38eba698e0c8859.tar nixos-f3e5684e425eb85fed68e38fe38eba698e0c8859.tar.gz nixos-f3e5684e425eb85fed68e38fe38eba698e0c8859.tar.bz2 nixos-f3e5684e425eb85fed68e38fe38eba698e0c8859.tar.xz nixos-f3e5684e425eb85fed68e38fe38eba698e0c8859.zip | |
more debugging
| -rw-r--r-- | hel.nix | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | ) { |
