From 670a19f27f4f61bfa358646aff62b9bf8851ab84 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Thu, 8 Jan 2026 11:45:15 -0500 Subject: [PATCH 1/2] qbit is host networked --- systems/palatine-hill/docker/torr.nix | 1 + systems/palatine-hill/firewall.nix | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/systems/palatine-hill/docker/torr.nix b/systems/palatine-hill/docker/torr.nix index f999ca9..c1f2d44 100644 --- a/systems/palatine-hill/docker/torr.nix +++ b/systems/palatine-hill/docker/torr.nix @@ -33,6 +33,7 @@ in "${data_path}/data/:/data" "/etc/localtime:/etc/localtime:ro" ]; + networks = [ "host" ]; ports = [ "8082:8082" "29432:29432" diff --git a/systems/palatine-hill/firewall.nix b/systems/palatine-hill/firewall.nix index 3a0cacf..8feeb16 100644 --- a/systems/palatine-hill/firewall.nix +++ b/systems/palatine-hill/firewall.nix @@ -45,6 +45,14 @@ 8686 8787 5055 + + # torr + 29432 + ]; + + allowedUDPPorts = [ + # torr + 29432 ]; }; From 141d893493253b0330a0867832f6b90403a53fb5 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Thu, 8 Jan 2026 16:28:54 -0500 Subject: [PATCH 2/2] remove data path for trash --- systems/palatine-hill/docker/torr.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/systems/palatine-hill/docker/torr.nix b/systems/palatine-hill/docker/torr.nix index c1f2d44..c1905d6 100644 --- a/systems/palatine-hill/docker/torr.nix +++ b/systems/palatine-hill/docker/torr.nix @@ -17,7 +17,6 @@ let qbit_path = "${torr_path}/qbit"; qbitvpn_path = "${torr_path}/qbitvpn"; qbitperm_path = "${torr_path}/qbitperm"; - data_path = "${torr_path}/data"; in { @@ -30,7 +29,7 @@ in }; volumes = [ "${qbit_path}/config:/config" # move from docker/qbit to qbit_path - "${data_path}/data/:/data" + "${torr_path}/data/:/data" "/etc/localtime:/etc/localtime:ro" ]; networks = [ "host" ]; @@ -39,6 +38,9 @@ in "29432:29432" "29432:29432/udp" ]; + extraOptions = [ + "--dns=9.9.9.9" + ]; }; qbitVPN = qbitBase // { # webui port is 8081, torr port is 39274 @@ -51,7 +53,7 @@ in dependsOn = [ "gluetun-qbit" ]; volumes = [ "${qbitvpn_path}/config:/config" - "${data_path}/data:/data" + "${torr_path}/data:/data" "/etc/localtime:/etc/localtime:ro" ]; }; @@ -66,7 +68,7 @@ in dependsOn = [ "gluetun-qbit" ]; volumes = [ "${qbitperm_path}/config:/config" - "${data_path}/data:/data" + "${torr_path}/data:/data" "/etc/localtime:/etc/localtime:ro" ]; };