[Desktop/Multimedia] Try to fix Wireplumber config

This commit is contained in:
Antoine Viallon 2024-11-07 15:10:19 +01:00
parent c6f18cc4a1
commit c500db4bcd
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -106,17 +106,18 @@ in {
];
};
};
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 ]"
}
'';
# https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/bluetooth.html
services.pipewire.wireplumber.extraConfig = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true; # Should be default now
"bluez5.enable-msbc" = true; # Default
"bluez5.enable-hw-volume" = true; # Default
"bluez5.headset-roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
};
};
security.rtkit.enable = true; # Real-time support for pipewire
aviallon.programs.allowUnfreeList = [