From 859dd057be9f048f5d16aa835fb8238ba291b9bb Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Wed, 3 Jun 2026 15:45:20 -0400 Subject: [PATCH] fixing stupid airpods --- hosts/fwbook.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index c233508..e3e9501 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -82,6 +82,18 @@ in }; hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; + # Fix robotic/distorted audio with AirPods over Bluetooth. + # WirePlumber 0.5 (nixpkgs 26.05+) enables mSBC for HFP by default, which + # produces robotic sounds with AirPods. Disabling mSBC falls back to CVSD + # for the headset/mic profile while AAC/SBC still handles A2DP audio output. + services.pipewire.wireplumber.extraConfig = { + "51-airpods-bluetooth" = { + "monitor.bluez.properties" = { + "bluez5.msbc-support" = false; + "bluez5.hfphsp-backend" = "native"; + }; + }; + }; nixpkgs.config.permittedInsecurePackages = [ "python3.12-ecdsa-0.19.1" ];