From 847aa60fd53fcc8a84160355c7770314de283e5d Mon Sep 17 00:00:00 2001 From: xenia Date: Tue, 19 Nov 2024 13:10:18 +0100 Subject: [PATCH] Forcibly disable bad bluetooth codecs for audio --- nixos/machines/foxhut/machine.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/machines/foxhut/machine.nix b/nixos/machines/foxhut/machine.nix index 0bf64f72..8830d6d9 100644 --- a/nixos/machines/foxhut/machine.nix +++ b/nixos/machines/foxhut/machine.nix @@ -49,4 +49,15 @@ } ]; }; }; + + services.pipewire.wireplumber.extraConfig."10-bluez" = { + "monitor.bluez.properties" = { + "bluez5.enable-sbc-xq" = true; + "bluez5.enable-msbc" = false; + "bluez5.enable-hw-volume" = true; + "bluez5.codecs" = [ + "sbc" "sbc_xq" "aac" + ]; + }; + }; }