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