diff options
author | Alex Guzman <alex@guzman.io> | 2019-11-29 14:50:10 -0800 |
---|---|---|
committer | Renaud <c0bw3b@users.noreply.github.com> | 2019-11-29 23:50:10 +0100 |
commit | 752b8688b5a442368c5b5ea0ff6329b572c329d0 (patch) | |
tree | 07bf11571c7c0bf83ffa25aad60174333e899bb4 /nixos | |
parent | 5bcb35b7ce7a332a68ca7e2439dedefbb798b80f (diff) | |
download | nixpkgs-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')
-rw-r--r-- | nixos/modules/services/audio/roon-server.nix | 3 |
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 {}; }; |