PipeWire: Difference between revisions

Klinger (talk | contribs)
added link to pipewire. PipeWire is not "new" anymore as first releasend in 2017. Some changes from „you“ to neutral language.
remove 23.11 code
Line 44: Line 44:
</syntaxHighlight>
</syntaxHighlight>


Once [https://github.com/NixOS/nixpkgs/pull/292115 #292115] is merged and has reached nixos-unstable, you'll be able to use <code>services.pipewire.wireplumber.extraLuaConfig</code> as well:
Alternatively you can set <code>services.pipewire.wireplumber.extraLuaConfig</code> as well:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Line 57: Line 57:
</syntaxHighlight>
</syntaxHighlight>


If you are still using 23.11 or earlier, you can specify these files in <code>environment.etc</code>:
<syntaxHighlight lang=nix>
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 ]"
}
'';
};
</syntaxHighlight>
</syntaxHighlight>