Merge pull request #11956 from zimbatm/nm-openvpn-uid-gid

networkmanager: set uid/gid for the networkmanager openvpn agent

Changed files
+4
nixos
modules
misc
services
networking
+2
nixos/modules/misc/ids.nix
···
heapster = 214;
bepasty = 215;
pumpio = 216;
+
nm-openvpn = 217;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
···
calibre-server = 213;
bepasty = 215;
pumpio = 216;
+
nm-openvpn = 217;
# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal
+2
nixos/modules/services/networking/networkmanager.nix
···
}
{
name = "nm-openvpn";
+
gid = config.ids.gids.nm-openvpn;
}];
users.extraUsers = [{
name = "nm-openvpn";
+
uid = config.ids.uids.nm-openvpn;
}];
systemd.packages = cfg.packages;