From 752b8688b5a442368c5b5ea0ff6329b572c329d0 Mon Sep 17 00:00:00 2001 From: Alex Guzman Date: Fri, 29 Nov 2019 14:50:10 -0800 Subject: 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) --- nixos/modules/services/audio/roon-server.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos/modules/services/audio/roon-server.nix') diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index 4eda3c5708d..6aed485638c 100644 --- a/nixos/modules/services/audio/roon-server.nix +++ b/nixos/modules/services/audio/roon-server.nix @@ -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 {}; }; -- cgit 1.4.1