diff options
| -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 | ) { |
