update: nixos-26.05
This commit is contained in:
parent
7b6e082414
commit
834fbccfc8
11 changed files with 72 additions and 64 deletions
|
|
@ -8,10 +8,11 @@
|
|||
# RNNoise is a noise supperssion neural network
|
||||
# Here we use it as a plugin for pipewire to create a virtual microphone
|
||||
config = {
|
||||
home.file = {
|
||||
".config/pipewire/pipewire.conf.d/99-input-denoising.conf".text = ''
|
||||
xdg.configFile = {
|
||||
"pipewire/pipewire.conf.d/99-input-denoising.conf".text = ''
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-filter-chain
|
||||
flags = [ nofail ]
|
||||
args = {
|
||||
node.description = "Noise Canceling source"
|
||||
media.name = "Noise Canceling source"
|
||||
|
|
@ -20,7 +21,7 @@
|
|||
{
|
||||
type = ladspa
|
||||
name = rnnoise
|
||||
plugin = ${pkgs.rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so
|
||||
plugin = "librnnoise_ladspa"
|
||||
label = noise_suppressor_mono
|
||||
control = {
|
||||
"VAD Threshold (%)" 0.0
|
||||
|
|
@ -44,9 +45,7 @@
|
|||
}
|
||||
]
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"pipewire/pipewire.conf.d/99-rtp-sink.conf".text = ''
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-rtp-sink
|
||||
|
|
@ -78,9 +77,10 @@
|
|||
}
|
||||
]
|
||||
'';
|
||||
|
||||
"systemd/user/pipewire.service.d/override.conf".text = ''
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/env sleep 10s
|
||||
ExecStartPre=${pkgs.coreutils}/bin/sleep 10s
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue