1
Fork 0
nixos-system-config/packages/deluge/homeserver.nix

28 lines
767 B
Nix
Raw Normal View History

2023-06-25 19:49:13 +02:00
{ ... }:
{
services.deluge = {
enable = true;
user = "media";
declarative = true;
dataDir = "/mnt/mass/Services/Deluge";
authFile = "/mnt/mass/Services/Deluge/auth";
config = {
2023-07-06 23:29:43 +02:00
download_location = "/mnt/mass/Torrents/incomplete";
move_completed_path = "/mnt/mass/Torrents";
move_completed = true;
listen_random_port = false;
outgoing_interface = "wg0";
listen_interface = "wg0";
2023-06-25 19:49:13 +02:00
allow_remote = true;
listen_ports = [ 57597 ];
2023-07-06 23:29:43 +02:00
max_active_seeding = 0;
max_active_downloading = 5;
max_active_limite = 0;
2023-06-25 19:49:13 +02:00
};
};
networking.firewall.allowedTCPPorts = [ 57597 58846 ];
}