1
0
Fork 0

add outgoing interface to deluge

This commit is contained in:
ibizaman 2023-10-18 19:52:35 -07:00
parent 8e7321f6ea
commit a21e3f0943

View file

@ -45,6 +45,12 @@ in
default = null;
};
outgoingInterface = lib.mkOption {
description = lib.mdDoc "If not null, sets up a deluge to bind all outgoing traffic to the given interface.";
type = lib.types.nullOr lib.types.str;
default = null;
};
downloadLocation = lib.mkOption {
type = lib.types.str;
description = "Folder where torrents gets downloaded";
@ -103,6 +109,7 @@ in
proxy_tracker_connections = true;
type = 4; # HTTP
};
outgoing_interface = cfg.outgoingInterface;
enabled_plugins = cfg.enabledPlugins;