From 1c7e6a2de9f2a0fa149ef36c1e2be6d4fafca822 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:21:14 +0530 Subject: [PATCH] nixos/shairport-sync: Add pulse group also for pipewire Works according to https://github.com/mikebrady/shairport-sync/issues/1171 From https://github.com/NixOS/nixpkgs/pull/181350/commits/0e4664b4976a748702d493e43d7a796b82222ddc --- nixos/modules/services/networking/shairport-sync.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/shairport-sync.nix b/nixos/modules/services/networking/shairport-sync.nix index eb61663e4d92..df7e143bb41f 100644 --- a/nixos/modules/services/networking/shairport-sync.nix +++ b/nixos/modules/services/networking/shairport-sync.nix @@ -82,7 +82,7 @@ in createHome = true; home = "/var/lib/shairport-sync"; group = cfg.group; - extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse"; + extraGroups = [ "audio" ] ++ optional (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) "pulse"; }; groups.${cfg.group} = {}; };