diff --git a/modules/audio.nix b/modules/audio.nix index 44f64b3..ae24988 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -11,4 +11,13 @@ alsa.support32Bit = true; pulse.enable = true; }; + + services.pipewire.extraConfig.pipewire."92-low-latency" = { + "context.properties" = { + "default.clock.rate" = 48000; + "default.clock.quantum" = 32; + "default.clock.min-quantum" = 32; + "default.clock.max-quantum" = 32; + }; + }; } \ No newline at end of file diff --git a/modules/boot.nix b/modules/boot.nix index e95c54c..953afe4 100644 --- a/modules/boot.nix +++ b/modules/boot.nix @@ -15,4 +15,6 @@ boot.initrd.availableKernelModules = [ "nvidia_drm" "nvidia_modeset" "nvidia" "nvidia_uvm" ]; + + boot.kernelParams = [ "preempt=full" ]; }