diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 17:11:03 +0100 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 17:11:03 +0100 |
| commit | 7b707adfccc94c8e364e931ed3464789119e24aa (patch) | |
| tree | b692994d1fad2b1c60d31abb718957a463671f6d | |
| parent | ff86b518167bb87fc68b96f6d760a606ec237c09 (diff) | |
| download | nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.gz nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.bz2 nixos-7b707adfccc94c8e364e931ed3464789119e24aa.tar.xz nixos-7b707adfccc94c8e364e931ed3464789119e24aa.zip | |
debug polkit
| -rw-r--r-- | hel.nix | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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 | ) { |
