summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/hardware/audio.nix4
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;