1
0
Fork 0

add enabled plugins to deluge

This commit is contained in:
ibizaman 2023-10-12 22:34:00 -07:00
parent d53dba45ea
commit 5d5cb5c664

View file

@ -63,6 +63,13 @@ in
example = "secrets/torrent.yaml"; example = "secrets/torrent.yaml";
}; };
enabledPlugins = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = "Plugins to enable, can include those from additionalPlugins.";
example = ["Label"];
default = [];
};
additionalPlugins = lib.mkOption { additionalPlugins = lib.mkOption {
type = lib.types.attrsOf lib.types.path; type = lib.types.attrsOf lib.types.path;
description = "Location of additional plugins."; description = "Location of additional plugins.";
@ -89,6 +96,9 @@ in
proxy_tracker_connections = true; proxy_tracker_connections = true;
type = 4; # HTTP type = 4; # HTTP
}; };
enabled_plugins = cfg.enabledPlugins;
# TODO: expose these # TODO: expose these
max_active_limit = 10000; max_active_limit = 10000;
max_active_downloading = 30; max_active_downloading = 30;