git.iko.soy/typeable/nixpkgs
on master help sign in
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)

commit752b8688b5a442368c5b5ea0ff6329b572c329d0 authorAlex Guzman <alex@guzman.io> dateFri 29 Nov 2019, 14:50 (7 years ago) parent5bcb35b
1 file changed+2−1
nixos/modules/services/audio/roon-server.nix+2−1
nixos/modules/services/audio/roon-server.nix+2−1
@@ -66,7 +66,8 @@ in {
6666 if cfg.user == "roon-server" then {
6767 isSystemUser = true;
6868 description = "Roon Server user";
69− groups = [ cfg.group "audio" ];
69+ group = cfg.group;
70+ extraGroups = [ "audio" ];
7071 }
7172 else {};
7273 };