From a7c2d457472c4ccaf399eea779edb369e6b2e4fb Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 9 Sep 2025 22:18:44 -0600 Subject: [PATCH] 1757477924 --- modules/audio.nix | 9 +++++++++ modules/boot.nix | 2 ++ 2 files changed, 11 insertions(+) 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" ]; }