diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index fb69942..c61f95e 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -140,6 +140,40 @@ enable = true; support32Bit = true; }; + extraConfig = { + pipewire."99-silent.bell.conf" = { + "context.properties" = { + "modules.x11.bell" = false; + }; + }; + pipewire."92-low-latency" = { + "context.properties" = { + "default.clock.rate" = 48000; + "default.clock.quantum" = 64; + "default.clock.min-quantum" = 64; + "default.clock.max-quantum" = 64; + }; + }; + pipewire-pulse."92-low-latency" = { + "context.properties" = [ + { + name = "libpipewire-module-protocol-pulse"; + args = {}; + } + ]; + "pulse.properties" = { + "pulse.min.req" = "64/48000"; + "pulse.default.req" = "64/48000"; + "pulse.max.req" = "64/48000"; + "pulse.min.quantum" = "64/48000"; + "pulse.max.quantum" = "64/48000"; + }; + "stream.properties" = { + "node.latency" = "64/48000"; + "resample.quality" = 1; + }; + }; + }; }; # Fix not saving my state