mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop/Multimedia] Try to fix Wireplumber config
This commit is contained in:
parent
c6f18cc4a1
commit
c500db4bcd
1 changed files with 11 additions and 10 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue