1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 15:41:02 +01:00
home-manager/tests/modules/services/easyeffects/example-preset.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

34 lines
691 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}"
'';
}