Files
nixos-config/modules/default.nix
T
Lumpiasty c9e6ec7b23 add audio-rt module to fight xruns under cpu load
EasyEffects DSP plugins (rnnoise, deepfilternet, crystalizer) drop audio
when the system is under load. Layered workaround with per-optimization
toggles for bisecting impact:

- cgroup-based CPU partitioning: dedicated audio.slice with AllowedCPUs
  pinning, restricted app/session/background slices for everything else
- rlimits so PipeWire's module-rt sets SCHED_FIFO 88 directly instead of
  going through RTKit's priority-10 ceiling
- persistent watcher that re-applies performance governor on audio cores
  (gamemoded/PPD keep resetting it)
- ananicy rule pinning easyeffects to nice -12 for non-RT DSP threads
- znver4-tuned rebuilds of easyeffects and its DSP deps

Master switch + per-feature toggles via lumpiasty.audioRt.*; all enabled
by default on acer host. None of this fully eliminates dropouts on this
thermally constrained laptop but each layer is independently testable.
2026-05-18 17:20:21 +02:00

26 lines
465 B
Nix

{ ... }:
{
imports = [
hardware/intel-cpu.nix
hardware/amd-cpu.nix
hardware/no-mitigations.nix
hardware/acer-undervolt.nix
system/roles.nix
system/nixpkgs.nix
system/location.nix
system/shell.nix
system/users.nix
system/ssh.nix
system/gaming.nix
system/nix.nix
system/zfs.nix
desktop/plasma.nix
desktop/touchpad.nix
desktop/pulseaudio.nix
desktop/audio-rt.nix
desktop/tailscale.nix
];
}