From 6fb7b9b664daf9d1f6b52b2196d5807074e128cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= <domen@dev.si> Date: Fri, 23 Oct 2015 20:15:31 +0200 Subject: [PATCH] networkmanager: don't check if subject is active (false in my X session) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 4c2bbb248cf22ad3c3541ba7d38bbc3abb40c706) Signed-off-by: Domen Kožar <domen@dev.si> --- nixos/modules/services/networking/networkmanager.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix index 8370eca21e52..d0c4be1324a5 100644 --- a/nixos/modules/services/networking/networkmanager.nix +++ b/nixos/modules/services/networking/networkmanager.nix @@ -40,7 +40,6 @@ let polkit.addRule(function(action, subject) { if ( subject.isInGroup("networkmanager") - && subject.active && (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 || action.id.indexOf("org.freedesktop.ModemManager") == 0 ))