deluge: use a declarative configuration

This commit is contained in:
Nico 2025-12-12 21:51:14 +11:00
parent cb2c94c4d9
commit db97556d3d
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -75,6 +75,29 @@
web.enable = true;
web.openFirewall = false;
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}" = {