hi it seems that Nixos isn’t detecting my Bluetooth USB adapter so I’m unable to activate Bluetooth (no Bluetooth found) when I try to turn my Bluetooth on
I’m new to nixos
I have this in my configuration.nix
hardware.bluetooth.package = pkgs.bluez;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Name = "Hello";
ControllerMode = "dual";
FastConnectable = "true";
Experimental = "true";
};
Policy = {
AutoEnable = "true";
};
};
};
services.blueman.enable = true;
and this when I run
❯ dmesg | grep -i bluetooth
[ 53.565342] Bluetooth: Core ver 2.22
[ 53.565363] NET: Registered PF_BLUETOOTH protocol family
[ 53.565364] Bluetooth: HCI device and connection manager initialized
[ 53.565367] Bluetooth: HCI socket layer initialized
[ 53.565369] Bluetooth: L2CAP socket layer initialized
[ 53.565373] Bluetooth: SCO socket layer initialized
[ 130.799529] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 130.799537] Bluetooth: BNEP socket layer initialized
lsusb | grep -i bluetooth
Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
systemctl status bluetooth
bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; preset: enabled)
Drop-In: /nix/store/gl0i377q27vhnjj46z2z84xcwxhfcqrp-system-units/bluetooth.service.d
└─overrides.conf
Active: active (running) since Tue 2024-12-03 17:20:39 CET; 21min ago
Docs: man:bluetoothd(8)
Main PID: 4015 (bluetoothd)
Status: "Running"
IP: 0B in, 0B out
IO: 1.4M read, 0B written
Tasks: 1 (limit: 18309)
Memory: 2.2M (peak: 2.5M)
CPU: 23ms
CGroup: /system.slice/bluetooth.service
└─4015 /nix/store/4jk7imhlawwja56kdvqwiiznjv19zv91-bluez-5.75/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf
Dec 03 17:20:39 nixos systemd[1]: Starting Bluetooth service...
Dec 03 17:20:39 nixos bluetoothd[4015]: Bluetooth daemon 5.75
Dec 03 17:20:39 nixos systemd[1]: Started Bluetooth service.
Dec 03 17:20:39 nixos bluetoothd[4015]: Starting SDP server
Dec 03 17:20:39 nixos bluetoothd[4015]: Bluetooth management interface 1.22 initialized
rfkill list all
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
nix-shell -p nix-info --run “nix-info -m”
- system: `"x86_64-linux"`
- host os: `Linux 6.6.56, NixOS, 24.05 (Uakari), 24.05.20241016.dc2e002`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.8`
- nixpkgs: `/nix/store/808lp63z6yiraikjpzcfk3xg1frpd2s0-source`