adding installers again and working on audio latency

This commit is contained in:
Matt Nish-Lapidus 2025-01-06 19:03:36 -05:00
parent 9e293dfd90
commit 740835b14c
6 changed files with 47 additions and 13 deletions

View file

@ -160,6 +160,7 @@
'';
security.polkit.enable = true;
security.rtkit.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
@ -262,6 +263,32 @@
}
];
};
pipewire."92-low-latency" = {
context.properties = {
default.clock.rate = 48000;
default.clock.quantum = 32;
default.clock.min-quantum = 32;
default.clock.max-quantum = 32;
};
};
pipewire-pulse."92-low-latency" = {
context.modules = [
{
name = "libpipewire-module-protocol-pulse";
args = {
pulse.min.req = "32/48000";
pulse.default.req = "32/48000";
pulse.max.req = "32/48000";
pulse.min.quantum = "32/48000";
pulse.max.quantum = "32/48000";
};
}
];
stream.properties = {
node.latency = "32/48000";
resample.quality = 1;
};
};
};
};