summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2019-09-05 13:10:07 +0200
committerAlan Pearce2019-09-05 13:10:07 +0200
commit5f0e9c4f7e65162dc703d9a4836dcf45c0d73867 (patch)
tree2f41694d49e8e7e48ae830c594ea7cf90c6d81b4 /modules/hardware
parent721f85a77991422e43b7930e110feea14b2deb1c (diff)
downloadnixos-configuration-5f0e9c4f7e65162dc703d9a4836dcf45c0d73867.tar.lz
nixos-configuration-5f0e9c4f7e65162dc703d9a4836dcf45c0d73867.tar.zst
nixos-configuration-5f0e9c4f7e65162dc703d9a4836dcf45c0d73867.zip
laptop: support high-quality bluetooth audio codecs
LDAC, aptX HD and AAC
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/laptop.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix
index 3b5aeb2..7320d60 100644
--- a/modules/hardware/laptop.nix
+++ b/modules/hardware/laptop.nix
@@ -11,6 +11,11 @@
       powerOnBoot = false;
       package = pkgs.bluezFull;
     };
+    pulseaudio = {
+      extraModules = with pkgs; [
+        pulseaudio-modules-bt
+      ];
+    };
   };
   systemd.services.bluetooth.wantedBy = lib.mkForce [];
   systemd.timers.bluetooth = {