summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-18 15:02:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-18 15:02:28 +0200
commit5eb7b2b9a7064f2b180c3c0bea142010c231cc56 (patch)
tree7b181121d991fa1788b9d8131b12302f51034f9b
parent822469012d614d783efe0654bea85a5451799adb (diff)
downloadnixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar
nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.gz
nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.bz2
nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.xz
nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.zip
redundant polkit
-rw-r--r--hel.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/hel.nix b/hel.nix
index 8f10868b..171e8ec2 100644
--- a/hel.nix
+++ b/hel.nix
@@ -203,14 +203,6 @@
203 ''; 203 '';
204 204
205 setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"]; 205 setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"];
206
207 polkit.extraConfig = ''
208 polkit.addRule(function(action, subject) {
209 if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
210 return polkit.Result.YES;
211 }
212 });
213 '';
214 }; 206 };
215 207
216 time.timeZone = "Europe/Berlin"; 208 time.timeZone = "Europe/Berlin";