1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-04-15 00:36:34 +00:00
home-manager/tests/modules/services/easyeffects/example-preset.nix

37 lines
707 B
Nix
Raw Normal View History

{ ... }:
{
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
}"
'';
}