From 5eb7b2b9a7064f2b180c3c0bea142010c231cc56 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 May 2016 15:02:28 +0200 Subject: redundant polkit --- hel.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hel.nix b/hel.nix index 8f10868b..171e8ec2 100644 --- a/hel.nix +++ b/hel.nix @@ -203,14 +203,6 @@ ''; setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"]; - - polkit.extraConfig = '' - polkit.addRule(function(action, subject) { - if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) { - return polkit.Result.YES; - } - }); - ''; }; time.timeZone = "Europe/Berlin"; -- cgit v1.2.3