fixed wireplumber

This commit is contained in:
Boom-Hacker 2025-11-02 21:02:17 +08:00
parent c5d2efcf1d
commit a8ee47c46f

View file

@ -14,5 +14,22 @@ in {
options snd-soc-avs obsolete_card_names=1
'';
environment.sessionVariables.ALSA_CONFIG_UCM2 = lib.mkDefault "${alsa-ucm-conf-cros}/share/alsa/ucm2";
services.pipewire.wireplumber.extraConfig."51-increase-headroom" = {
"monitor.alsa.rules" = [
{
matches = [
{
"node.name" = "~alsa_output.*";
}
];
actions = {
"update-props" = {
"api.alsa.headroom" = 4096;
};
};
}
];
};
}