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:
parent
5d5c0d590f
commit
47a5f9acee
@ -241,6 +241,7 @@ in {
|
|||||||
users.extraUsers = [{
|
users.extraUsers = [{
|
||||||
name = "nm-openvpn";
|
name = "nm-openvpn";
|
||||||
uid = config.ids.uids.nm-openvpn;
|
uid = config.ids.uids.nm-openvpn;
|
||||||
|
extraGroups = [ "networkmanager" ];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
systemd.packages = cfg.packages;
|
systemd.packages = cfg.packages;
|
||||||
|
Loading…
Reference in New Issue
Block a user