fix(nixos): bluetooth audio control, pipewire

This commit is contained in:
Léana 江 2023-12-29 10:35:22 +01:00 committed by Léana 江
parent 2cab5b4338
commit 3537abf5a2
4 changed files with 27 additions and 13 deletions

View file

@ -1,4 +1,14 @@
{...}: {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
environment.etc = {
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
bluez_monitor.properties = {
["bluez5.enable-sbc-xq"] = true,
["bluez5.enable-msbc"] = true,
["bluez5.enable-hw-volume"] = true,
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
}
'';
};
}