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
This commit is contained in:
Benjamin Staffin 2017-04-10 22:41:55 -04:00
parent 5d5c0d590f
commit 47a5f9acee
No known key found for this signature in database
GPG key ID: A490C0134E09AF4A

View file

@ -241,6 +241,7 @@ in {
users.extraUsers = [{
name = "nm-openvpn";
uid = config.ids.uids.nm-openvpn;
extraGroups = [ "networkmanager" ];
}];
systemd.packages = cfg.packages;