diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-18 15:02:28 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-18 15:02:28 +0200 |
| commit | 5eb7b2b9a7064f2b180c3c0bea142010c231cc56 (patch) | |
| tree | 7b181121d991fa1788b9d8131b12302f51034f9b | |
| parent | 822469012d614d783efe0654bea85a5451799adb (diff) | |
| download | nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.gz nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.bz2 nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.tar.xz nixos-5eb7b2b9a7064f2b180c3c0bea142010c231cc56.zip | |
redundant polkit
| -rw-r--r-- | hel.nix | 8 |
1 files changed, 0 insertions, 8 deletions
| @@ -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"; |
