nixcfg/homeManagerModules/services/easyeffects/default.nix

20 lines
563 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.services.easyeffects.enable {
xdg.configFile = {
"easyeffects/output/framework13.json".source = ./framework13.json;
"easyeffects/output/fw13-autogain.json".source = ./fw13-autogain.json;
"easyeffects/output/fw13-easy-effects.json".source = ./framework13.json;
"easyeffects/output/LoudnessEqualizer.json".source = ./LoudnessEqualizer.json;
};
services.easyeffects = {
enable = true;
preset = config.ar.home.services.easyeffects.preset;
};
};
}