3
0
Fork 0
forked from mirrors/nixpkgs

nixos/pipewire: add pkgs.pulseaudio to pipewire-pulse user unit path

This commit is contained in:
Lily Foster 2022-06-15 06:11:20 -04:00 committed by Jonathan Ringer
parent 7dcd2853b9
commit 1e3747b98b

View file

@ -260,5 +260,8 @@ in {
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/464#note_723554
systemd.services.pipewire.environment."PIPEWIRE_LINK_PASSIVE" = "1";
systemd.user.services.pipewire.environment."PIPEWIRE_LINK_PASSIVE" = "1";
# pipewire-pulse default config expects pactl to be in PATH
systemd.user.services.pipewire-pulse.path = lib.mkIf cfg.pulse.enable [ pkgs.pulseaudio ];
};
}