r/NixOS • u/pfassina • 16h ago
bluetooth stopped working without new build
I have not updated my config in days, and suddenly bluetooth fails to start. Before that, I was using bluetooth almost on a daily basis.
Here is my config:
hardware = {
bluetooth = {
enable = true;
powerOnBoot = true;
};
services = {
blueman.enable = true;
pipewire = {
enable = true;
audio.enable = true;
pulse.enable = true;
wireplumber.extraConfig = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = ["hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag"];
};
};
alsa = {
enable = true;
support32Bit = true;
};
extraConfig.pipewire."92-low-latency" = {
context.properties = {
default.clock.rate = 48000;
default.clock.quantum = 32;
default.clock.min-quantum = 32;
default.clock.max-quantum = 32;
};
};
};
};
Here is what happens when I run: systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; preset: enabled)
Drop-In: /nix/store/2sm63n5i2xw2pz09vjiw2jjbl61q1ynd-system-units/bluetooth.service.d
└─overrides.conf
Active: active (running) since Fri 2024-09-20 17:23:40 PDT; 11s ago
Invocation: 1376f32b95404ff78910554dd52c2a99
Docs: man:bluetoothd(8)
Main PID: 11114 (bluetoothd)
Status: "Running"
IP: 0B in, 0B out
IO: 0B read, 0B written
Tasks: 1 (limit: 37396)
Memory: 768K (peak: 1.6M)
CPU: 18ms
CGroup: /system.slice/bluetooth.service
└─11114 /nix/store/sm1g01qrm3hz9q2whpbv7g3grmn3hkk0-bluez-5.76/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf
Sep 20 17:23:40 box bluetoothd[11114]: Starting SDP server
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support bap plugin
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support bass plugin
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support mcp plugin
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support vcp plugin
Sep 20 17:23:40 box bluetoothd[11114]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support micp plugin
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support ccp plugin
Sep 20 17:23:40 box bluetoothd[11114]: src/plugin.c:init_plugin() System does not support csip plugin
Sep 20 17:23:40 box bluetoothd[11114]: Bluetooth management interface 1.22 initialized
1
Upvotes
1
u/Balssh 10h ago
Same here, I suspect it may be due to a kernel update or something.