audio: use full pulseaudio only when bluetooth is enabled
Alan Pearce alan@alanpearce.eu
Tue, 27 Aug 2019 15:03:05 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M modules/hardware/audio.nix → modules/hardware/audio.nix
@@ -3,7 +3,9 @@ { hardware.pulseaudio = { enable = true; support32Bit = true; - package = pkgs.pulseaudioFull; + package = if config.hardware.bluetooth.enable + then pkgs.pulseaudioFull + else pkgs.pulseaudio; }; sound.enable = true;