mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-15 00:36:34 +00:00
37 lines
707 B
Nix
37 lines
707 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
services.easyeffects = {
|
||
|
enable = true;
|
||
|
extraPresets = {
|
||
|
example-preset = {
|
||
|
input = {
|
||
|
blocklist = [
|
||
|
|
||
|
];
|
||
|
"plugins_order" = [ "rnnoise#0" ];
|
||
|
"rnnoise#0" = {
|
||
|
bypass = false;
|
||
|
"enable-vad" = false;
|
||
|
"input-gain" = 0.0;
|
||
|
"model-path" = "";
|
||
|
"output-gain" = 0.0;
|
||
|
release = 20.0;
|
||
|
"vad-thres" = 50.0;
|
||
|
wet = 0.0;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
test.stubs.easyeffects = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/easyeffects/input/example-preset.json "${
|
||
|
./example-preset.json
|
||
|
}"
|
||
|
'';
|
||
|
}
|