remove data path for trash
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 1m18s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 4m44s

This commit is contained in:
2026-01-08 16:28:54 -05:00
parent 670a19f27f
commit 141d893493

View File

@@ -17,7 +17,6 @@ let
qbit_path = "${torr_path}/qbit"; qbit_path = "${torr_path}/qbit";
qbitvpn_path = "${torr_path}/qbitvpn"; qbitvpn_path = "${torr_path}/qbitvpn";
qbitperm_path = "${torr_path}/qbitperm"; qbitperm_path = "${torr_path}/qbitperm";
data_path = "${torr_path}/data";
in in
{ {
@@ -30,7 +29,7 @@ in
}; };
volumes = [ volumes = [
"${qbit_path}/config:/config" # move from docker/qbit to qbit_path "${qbit_path}/config:/config" # move from docker/qbit to qbit_path
"${data_path}/data/:/data" "${torr_path}/data/:/data"
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"
]; ];
networks = [ "host" ]; networks = [ "host" ];
@@ -39,6 +38,9 @@ in
"29432:29432" "29432:29432"
"29432:29432/udp" "29432:29432/udp"
]; ];
extraOptions = [
"--dns=9.9.9.9"
];
}; };
qbitVPN = qbitBase // { qbitVPN = qbitBase // {
# webui port is 8081, torr port is 39274 # webui port is 8081, torr port is 39274
@@ -51,7 +53,7 @@ in
dependsOn = [ "gluetun-qbit" ]; dependsOn = [ "gluetun-qbit" ];
volumes = [ volumes = [
"${qbitvpn_path}/config:/config" "${qbitvpn_path}/config:/config"
"${data_path}/data:/data" "${torr_path}/data:/data"
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"
]; ];
}; };
@@ -66,7 +68,7 @@ in
dependsOn = [ "gluetun-qbit" ]; dependsOn = [ "gluetun-qbit" ];
volumes = [ volumes = [
"${qbitperm_path}/config:/config" "${qbitperm_path}/config:/config"
"${data_path}/data:/data" "${torr_path}/data:/data"
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"
]; ];
}; };