diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 61a472c6adf..96626a96b95 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -276,7 +276,7 @@ in sniproxy = 244; nzbget = 245; mosquitto = 246; - toxvpn = 247; + #toxvpn = 247; # dynamically allocated as of 2021-09-18 # squeezelite = 248; # DynamicUser = true turnserver = 249; #smokeping = 250;# dynamically allocated as of 2021-09-03 diff --git a/nixos/modules/services/networking/toxvpn.nix b/nixos/modules/services/networking/toxvpn.nix index 9e97faeebc1..1765ef3ea2d 100644 --- a/nixos/modules/services/networking/toxvpn.nix +++ b/nixos/modules/services/networking/toxvpn.nix @@ -59,10 +59,12 @@ with lib; users.users = { toxvpn = { - uid = config.ids.uids.toxvpn; + isSystemUser = true; + group = "toxvpn"; home = "/var/lib/toxvpn"; createHome = true; }; }; + users.groups.toxvpn = {}; }; }