deluge: use a declarative configuration
This commit is contained in:
parent
cb2c94c4d9
commit
db97556d3d
1 changed files with 23 additions and 0 deletions
|
|
@ -75,6 +75,29 @@
|
||||||
web.enable = true;
|
web.enable = true;
|
||||||
web.openFirewall = false;
|
web.openFirewall = false;
|
||||||
group = "media";
|
group = "media";
|
||||||
|
|
||||||
|
declarative = true;
|
||||||
|
authFile = "/var/lib/deluge/auth";
|
||||||
|
config = {
|
||||||
|
download_location = "/media/torrents/";
|
||||||
|
torrentfiles_location = "/media/torrents/files/";
|
||||||
|
copy_torrent_file = true;
|
||||||
|
|
||||||
|
allow_remote = true;
|
||||||
|
random_port = true;
|
||||||
|
upnp = true;
|
||||||
|
|
||||||
|
max_active_seeding = 5;
|
||||||
|
max_active_downloading = 3;
|
||||||
|
max_active_limit = 8;
|
||||||
|
|
||||||
|
max_download_speed = -1;
|
||||||
|
max_upload_speed = 10000; # 10 MiB/s
|
||||||
|
new_release_check = false;
|
||||||
|
enabled_plugins = [
|
||||||
|
"Label"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."deluge.${config.homelab.domain}" = {
|
services.caddy.virtualHosts."deluge.${config.homelab.domain}" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue