diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-01-28 17:06:24 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-01-28 17:06:24 +0100 |
commit | 77073dc559bf332c2a80a3e366bb3d3f8b5325e2 (patch) | |
tree | 1e863cb2280e661d7911dc5b74e9492a6be3ce5e /hel.nix | |
parent | c600d4d305f8d41ae14af85bf2b99865801a0ee5 (diff) | |
download | nixos-77073dc559bf332c2a80a3e366bb3d3f8b5325e2.tar nixos-77073dc559bf332c2a80a3e366bb3d3f8b5325e2.tar.gz nixos-77073dc559bf332c2a80a3e366bb3d3f8b5325e2.tar.bz2 nixos-77073dc559bf332c2a80a3e366bb3d3f8b5325e2.tar.xz nixos-77073dc559bf332c2a80a3e366bb3d3f8b5325e2.zip |
...
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -380,9 +380,10 @@ | |||
380 | 380 | ||
381 | polkit.addRule(function(action, subject) { | 381 | polkit.addRule(function(action, subject) { |
382 | if ((action.id == "org.blueman.rfkill.setstate" || | 382 | if ((action.id == "org.blueman.rfkill.setstate" || |
383 | action.id == "org.blueman.network.setup" | 383 | action.id == "org.blueman.network.setup" || |
384 | action.id == "org.freedesktop.NetworkManager.settings.modify.system" | ||
384 | ) && subject.local | 385 | ) && subject.local |
385 | && subject.active && subject.isInGroup("wheel") | 386 | && subject.active && subject.isInGroup("network") |
386 | ) { | 387 | ) { |
387 | return polkit.Result.YES; | 388 | return polkit.Result.YES; |
388 | } | 389 | } |