summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-01-28 17:06:24 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-01-28 17:06:24 +0100
commit77073dc559bf332c2a80a3e366bb3d3f8b5325e2 (patch)
tree1e863cb2280e661d7911dc5b74e9492a6be3ce5e /hel.nix
parentc600d4d305f8d41ae14af85bf2b99865801a0ee5 (diff)
downloadnixos-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.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/hel.nix b/hel.nix
index 509955ad..5878f441 100644
--- a/hel.nix
+++ b/hel.nix
@@ -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 }