23 lines
388 B
Nix
23 lines
388 B
Nix
{
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = [inputs.nix-gaming.nixosModules.pipewireLowLatency];
|
|
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
jack.enable = true;
|
|
pulse.enable = true;
|
|
|
|
lowLatency = {
|
|
enable = true;
|
|
quantum = 64;
|
|
rate = 48000;
|
|
};
|
|
};
|
|
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
|
}
|