On 25.11, I could connect to bluetooth speakers and use them to output audio, eg choosing with pwvucontrol.
Since 26.05, I can make the bluetooth connection (using bluetoothctl) but then the speaker is not available as an audio sink, eg checking wpctl status, I see the bluez5 audio device listed but it doesn’t have a corresponding sink,
$ wpctl status
...
Audio
├─ Devices:
│ 48. Built-in Audio [alsa]
│ 75. Q M20 HD White [bluez5]
│
├─ Sinks:
│ * 52. Built-in Audio Analog Stereo [vol: 0.40]
│
...
This happened to me too! I daily drive two NixOS instances, and my bluetooth audio failed on both.
I tried debugging it on my end, and after inspecting a few bluetooth and audio related services, the following seemed the most important log:
bluetoothd[53864]: src/service.c:btd_service_connect() a2dp-source profile connect failed for 78:2B:64:36:2B:EC: Protocol not available
This is still happening right now on one of my machines (nixos-version > 26.11.20260626.e73de5b (Zokor); however, the problem has already been solved on the other one. I’ll come back to this thread with more information!
Thanks for posting! I knew something was up, but could not find any discussion on it.
My other machine is currently working, and my nixos-version is also 26.11.20260626.e73de5b; so I suppose that is not the issue. I’ll keep an eye on this thread. I have been a bit busy these days and my configuration is not uniform across the two machines, so maybe it can be a help in figuring out what exactly is happening.
First Nixos install for me. Version 26.11.20260715.753cc8a (Zokor) too. I have the same symptoms:
Bluetooth audio device connecting but not set up as an audio sink with the same a2dp-sink profile connect failed error.
Note that in doing so your system will use a whole stack of outdated software, from glibc up. Nix duplicates every dependency for which versions don’t exactly match. This is both a lot of storage space, and a lot of lingering CVEs.
Given that it’s probably going to be 6 months to a year before the next BlueZ bump in NixOS, I wouldn’t recommend that approach of depending on the old version.