summary refs log tree commit diff
path: root/nixos/modules/services/audio/roon-server.nix
diff options
context:
space:
mode:
authorAlex Guzman <alex@guzman.io>2019-11-29 14:50:10 -0800
committerRenaud <c0bw3b@users.noreply.github.com>2019-11-29 23:50:10 +0100
commit752b8688b5a442368c5b5ea0ff6329b572c329d0 (patch)
tree07bf11571c7c0bf83ffa25aad60174333e899bb4 /nixos/modules/services/audio/roon-server.nix
parent5bcb35b7ce7a332a68ca7e2439dedefbb798b80f (diff)
downloadnixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar.gz
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar.bz2
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar.lz
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar.xz
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.tar.zst
nixpkgs-752b8688b5a442368c5b5ea0ff6329b572c329d0.zip
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)
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 {};
   };