summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorBenjamin Staffin <benley@gmail.com>2017-04-10 22:41:55 -0400
committerBenjamin Staffin <benley@gmail.com>2017-04-10 22:41:55 -0400
commit47a5f9acee9d75c7549802a2526013631510403d (patch)
treefbaf8d1eda2d4691a216f80e9bb7f4fae90f24d5 /nixos
parent5d5c0d590f35934bab23aadc2e1d8d6b6b2118b0 (diff)
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
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/networkmanager.nix1
1 files changed, 1 insertions, 0 deletions
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;