Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add RNNoise globally via pipewire

yemou 15f431fd a1e83363

+34
+34
modules/audio.nix
··· 14 14 }; 15 15 jack.enable = true; 16 16 pulse.enable = true; 17 + extraConfig.pipewire."99-RNNoise.conf" = { 18 + "context.modules" = [ 19 + { 20 + "name" = "libpipewire-module-filter-chain"; 21 + "args" = { 22 + "node.description" = "RNNoise Source"; 23 + "media.name" = "RNNoise Source"; 24 + "filter.graph" = { 25 + "nodes" = [ 26 + { 27 + "type" = "ladspa"; 28 + "name" = "rnnoise"; 29 + "plugin" = "${pkgs.rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so"; 30 + "label" = "noise_suppressor_mono"; 31 + "control" = { 32 + "VAD Threshold (%)" = 50.0; 33 + # "VAD Grace Period (ms)" = 200; 34 + # "Retroactive VAD Grace (ms)" = 0; 35 + }; 36 + } 37 + ]; 38 + }; 39 + "capture.props" = { 40 + "node.name" = "capture.rnnoise_source"; 41 + "node.passive" = true; 42 + }; 43 + "playback.props" = { 44 + "node.name" = "rnnoise_source"; 45 + "media.class" = "Audio/Source"; 46 + }; 47 + }; 48 + } 49 + ]; 50 + }; 17 51 }; 18 52 }