nixos/roon-server: fix broken user generation

Didn't notice this till I tried removing my custom roon user from the one I was testing with. There's not a 'groups' option for users, only group (primary group) and extraGroups. Use these.
 (#68337)
This commit is contained in:
Alex Guzman 2019-11-29 14:50:10 -08:00 committed by Renaud
parent 5bcb35b7ce
commit 752b8688b5

View File

@ -66,7 +66,8 @@ in {
if cfg.user == "roon-server" then {
isSystemUser = true;
description = "Roon Server user";
groups = [ cfg.group "audio" ];
group = cfg.group;
extraGroups = [ "audio" ];
}
else {};
};