From 47a5f9acee9d75c7549802a2526013631510403d Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Mon, 10 Apr 2017 22:41:55 -0400 Subject: [PATCH] nixos: Add nm-openvpn to the networkmanager group This is to satisfy the polkit restriction limiting org.freedesktop.NetworkManager.* dbus messages to members of that group. Should help with #24806 --- nixos/modules/services/networking/networkmanager.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix index 7fb2be786980..220107a24118 100644 --- a/nixos/modules/services/networking/networkmanager.nix +++ b/nixos/modules/services/networking/networkmanager.nix @@ -241,6 +241,7 @@ in { users.extraUsers = [{ name = "nm-openvpn"; uid = config.ids.uids.nm-openvpn; + extraGroups = [ "networkmanager" ]; }]; systemd.packages = cfg.packages;