HASH 838855d1b6c0
DATE 2026-07-11
SUBJECT audio: keep bluetooth headphones in a2dp
FILES 1 CHANGED
HASH 838855d1b6c0
DATE 2026-07-11
SUBJECT audio: keep bluetooth headphones in
a2dp
FILES 1 CHANGED
┌─ modules/nixos/hardware/features/audio.nix ────────────────────────────────┐
│ diff --git a/modules/nixos/hardware/features/audio.nix b/modules/nixos/hardware/fe │
│ atures/audio.nix │
│ index 432b07b..7b5135a 100644 │
│ --- a/modules/nixos/hardware/features/audio.nix │
│ +++ b/modules/nixos/hardware/features/audio.nix │
│ @@ -19,7 +19,11 @@ in { │
│ }; │
│ pulse.enable = true; │
│ jack.enable = true; │
│ - wireplumber.enable = true; │
│ + wireplumber = { │
│ + enable = true; │
│ + # keep BT headphones in A2DP, dont auto-flip to mono HFP when an app gr │
│ abs the mic │
│ + extraConfig."51-bluez-no-hfp-switch"."wireplumber.settings"."bluetooth. │
│ autoswitch-to-headset-profile" = false; │
│ + }; │
│ }; │
│ pulseaudio.enable = false; │
│ }; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...s/hardware/features/audio.nix ───┐
│ diff --git a/modules/nixos/hardware/features │
│ /audio.nix b/modules/nixos/hardware/features │
│ /audio.nix │
│ index 432b07b..7b5135a 100644 │
│ --- a/modules/nixos/hardware/features/audio. │
│ nix │
│ +++ b/modules/nixos/hardware/features/audio. │
│ nix │
│ @@ -19,7 +19,11 @@ in { │
│ }; │
│ pulse.enable = true; │
│ jack.enable = true; │
│ - wireplumber.enable = true; │
│ + wireplumber = { │
│ + enable = true; │
│ + # keep BT headphones in A2DP, don │
│ t auto-flip to mono HFP when an app grabs th │
│ e mic │
│ + extraConfig."51-bluez-no-hfp-swit │
│ ch"."wireplumber.settings"."bluetooth.autosw │
│ itch-to-headset-profile" = false; │
│ + }; │
│ }; │
│ pulseaudio.enable = false; │
│ }; │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET