2022-02-10 10:37:09 +00:00
|
|
|
_: {
|
2022-02-08 19:46:57 +00:00
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
media-session.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.sbc-xq-support" = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
matches = [
|
|
|
|
# Matches all sources
|
|
|
|
{
|
|
|
|
"node.name" = "~bluez_input.*";
|
|
|
|
}
|
|
|
|
# Matches all outputs
|
|
|
|
{ "node.name" = "~bluez_output.*"; }
|
|
|
|
];
|
|
|
|
actions = { "node.pause-on-idle" = false; };
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|