From 3c7dc25094f097543b73c33084aaebc1def0f8ae Mon Sep 17 00:00:00 2001 From: baritone Date: Fri, 28 Mar 2025 14:56:18 +0100 Subject: [PATCH] fucking people locked me out of my torrent client by trying to brute force the password, cant have shit in this house --- services/auto-torrent.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/services/auto-torrent.nix b/services/auto-torrent.nix index 626b6e4..fbb794d 100644 --- a/services/auto-torrent.nix +++ b/services/auto-torrent.nix @@ -10,7 +10,6 @@ sonarr.port = 8989; radarr.port = 7878; jackett.port = 9117; - transmission.port = 9091; }; vm-index = 1; @@ -149,10 +148,7 @@ in { services.transmission = pkgs.lib.mkIf enable-services { enable = true; openPeerPorts = true; - openRPCPort = true; home = "/mnt/transmission"; - webHome = "${pkgs.flood-for-transmission}"; - credentialsFile = "/mnt/transmission-secrets.json"; settings = { download-dir = "/mnt/transmission"; incomplete-dir = "/mnt/transmission/.incomplete"; @@ -161,15 +157,9 @@ in { peer-port-random-on-start = true; download-queue-enabled = false; - rpc-host-whitelist = builtins.concatStringsSep "," ["transmission.spoodythe.one" "10.0.101.10" "10.0.${toString vm-index}.254" host]; - rpc-whitelist = builtins.concatStringsSep "," ["127.0.0.1" "10.0.101.10" "10.0.${toString vm-index}.254" host]; - rpc-bind-address = "0.0.0.0"; - rpc-authentication-required = true; - rpc-username = "admin"; }; downloadDirPermissions = "775"; - # performanceNetParameters = true; - # extraFlags = ["--log-info" "--logfile" "/var/log/transmission.log"]; + performanceNetParameters = true; }; # debugging