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

networkmanager: set uid/gid for the networkmanager openvpn agent

+4
+2
nixos/modules/misc/ids.nix
··· 238 238 heapster = 214; 239 239 bepasty = 215; 240 240 pumpio = 216; 241 + nm-openvpn = 217; 241 242 242 243 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! 243 244 ··· 453 454 calibre-server = 213; 454 455 bepasty = 215; 455 456 pumpio = 216; 457 + nm-openvpn = 217; 456 458 457 459 # When adding a gid, make sure it doesn't match an existing 458 460 # uid. Users and groups with the same name should have equal
+2
nixos/modules/services/networking/networkmanager.nix
··· 223 223 } 224 224 { 225 225 name = "nm-openvpn"; 226 + gid = config.ids.gids.nm-openvpn; 226 227 }]; 227 228 users.extraUsers = [{ 228 229 name = "nm-openvpn"; 230 + uid = config.ids.uids.nm-openvpn; 229 231 }]; 230 232 231 233 systemd.packages = cfg.packages;