diff --git a/modules/config/pulseaudio.nix b/modules/config/pulseaudio.nix index 1043cca2be7e..696f0dc10670 100644 --- a/modules/config/pulseaudio.nix +++ b/modules/config/pulseaudio.nix @@ -132,7 +132,7 @@ in { description = "PulseAudio system-wide server"; wantedBy = [ "sound.target" ]; before = [ "sound.target" ]; - path = [ pulseaudio ]; + path = [ cfg.package ]; environment.PULSE_RUNTIME_PATH = pulseRuntimePath; preStart = '' mkdir -p --mode 755 ${pulseRuntimePath}