1
0
Fork 0

enable deluge Label plugin if any arr service is enabled

This commit is contained in:
ibizaman 2023-11-16 11:58:45 -08:00
parent 4977926fcf
commit f4b8be76b6

View file

@ -111,7 +111,14 @@ in
}; };
outgoing_interface = cfg.outgoingInterface; outgoing_interface = cfg.outgoingInterface;
enabled_plugins = cfg.enabledPlugins; enabled_plugins = cfg.enabledPlugins
++ lib.optional (lib.any (x: x.enable) [
config.shb.arr.radarr
config.shb.arr.sonarr
config.shb.arr.bazarr
config.shb.arr.readarr
config.shb.arr.lidarr
]) "Label";
# TODO: expose these # TODO: expose these
max_active_limit = 10000; max_active_limit = 10000;