nixos/toxvpn: define group, fix eval after #133166

This commit is contained in:
Guillaume Girol 2021-09-18 12:00:00 +00:00
parent d09ab77588
commit fd04a872bc
2 changed files with 4 additions and 2 deletions

View file

@ -276,7 +276,7 @@ in
sniproxy = 244; sniproxy = 244;
nzbget = 245; nzbget = 245;
mosquitto = 246; mosquitto = 246;
toxvpn = 247; #toxvpn = 247; # dynamically allocated as of 2021-09-18
# squeezelite = 248; # DynamicUser = true # squeezelite = 248; # DynamicUser = true
turnserver = 249; turnserver = 249;
#smokeping = 250;# dynamically allocated as of 2021-09-03 #smokeping = 250;# dynamically allocated as of 2021-09-03

View file

@ -59,10 +59,12 @@ with lib;
users.users = { users.users = {
toxvpn = { toxvpn = {
uid = config.ids.uids.toxvpn; isSystemUser = true;
group = "toxvpn";
home = "/var/lib/toxvpn"; home = "/var/lib/toxvpn";
createHome = true; createHome = true;
}; };
}; };
users.groups.toxvpn = {};
}; };
} }