diff options
Diffstat (limited to 'modules')
-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 47d68e0..bb0dd53 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; |