summary refs log tree commit diff
path: root/nixos/modules/services/audio/roon-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/audio/roon-server.nix')
-rw-r--r--nixos/modules/services/audio/roon-server.nix3
1 files changed, 2 insertions, 1 deletions
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 {};
   };