services: pipewire: switch to wireplumber

audio didn't work after flake.lock bump!
This commit is contained in:
Antoine Martin 2022-03-11 15:49:12 +01:00
parent 3a14606407
commit 3edac96be2

View file

@ -32,44 +32,7 @@ in
pulse.enable = true; pulse.enable = true;
jack.enable = true; jack.enable = true;
wireplumber.enable = false; wireplumber.enable = true;
media-session = {
enable = true;
config.bluez-monitor.rules = [
{
# Matches all cards
matches = [{ "device.name" = "~bluez_card.*"; }];
actions = {
"update-props" = {
"bluez5.reconnect-profiles" = [
"a2dp_sink"
"hfp_hf"
"hsp_hs"
];
# mSBC provides better audio + microphone
"bluez5.msbc-support" = true;
# SBC XQ provides better audio
"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;
};
}
];
};
}; };
# FIXME: a shame pactl isn't available by itself, eventually this should be # FIXME: a shame pactl isn't available by itself, eventually this should be