diff options
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/audio.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/hardware/audio.nix b/modules/hardware/audio.nix index 47d68e06..bb0dd534 100644 --- a/modules/hardware/audio.nix +++ b/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; |