feat(system): switch to wireplumber config
This commit is contained in:
parent
57395114d9
commit
316dce6c59
|
@ -9,24 +9,14 @@
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
media-session.config.bluez-monitor.rules = [
|
|
||||||
{
|
|
||||||
matches = [{ "device.name" = "~bluez_card.*"; }];
|
|
||||||
actions = {
|
|
||||||
"update-props" = {
|
|
||||||
"bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
|
|
||||||
"bluez5.msbc-support" = true;
|
|
||||||
"bluez5.sbc-xq-support" = 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 ]"
|
||||||
}
|
}
|
||||||
{
|
'';
|
||||||
matches = [
|
|
||||||
{ "node.name" = "~bluez_input.*"; }
|
|
||||||
{ "node.name" = "~bluez_output.*"; }
|
|
||||||
];
|
|
||||||
actions = { "node.pause-on-idle" = false; };
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue