fix wine, non-lowlatency pipewire, and catt
This commit is contained in:
parent
91eea7811a
commit
7ac8e1f861
4 changed files with 13 additions and 5 deletions
|
@ -174,8 +174,8 @@ in {
|
|||
pulseaudio
|
||||
];
|
||||
|
||||
environment.etc."wireplumber/main.lua.d/51-alsa-config.lua".text =
|
||||
mkIf cfg.lowLatency ''
|
||||
environment.etc."wireplumber/main.lua.d/51-alsa-config.lua" =
|
||||
mkIf cfg.lowLatency { text = ''
|
||||
alsa_monitor.properties = {
|
||||
["audio.rate"] = ${
|
||||
toString (cfg.rate * (if cfg.usbSoundcard then 2 else 1))
|
||||
|
@ -184,7 +184,7 @@ in {
|
|||
["api.alsa.headroom"] = 512,
|
||||
["api.alsa.period-size"] = ${toString cfg.periodSize}
|
||||
}
|
||||
'';
|
||||
''; };
|
||||
|
||||
environment.etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
bluez_monitor.properties = {
|
||||
|
|
|
@ -234,6 +234,14 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
# Used for chromecast bullshit
|
||||
{
|
||||
from = 45000;
|
||||
to = 47000;
|
||||
}
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
# Steam remote play
|
||||
27036
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue