chore(koi): torrent container adjustments
This commit is contained in:
parent
b06f6ae505
commit
29ad28b6f7
1 changed files with 6 additions and 3 deletions
|
@ -17,8 +17,8 @@ in
|
||||||
(containers.mkNixosContainer {
|
(containers.mkNixosContainer {
|
||||||
name = "torrent";
|
name = "torrent";
|
||||||
ephemeral = false;
|
ephemeral = false;
|
||||||
ip = ".0.2";
|
ip = "10.42.0.9";
|
||||||
private = true;
|
private = false;
|
||||||
|
|
||||||
config = { ... }: {
|
config = { ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -46,8 +46,10 @@ in
|
||||||
# upload speed doesn't matter that much
|
# upload speed doesn't matter that much
|
||||||
"Session\\TempPath" = "/var/lib/qbittorrent/temp";
|
"Session\\TempPath" = "/var/lib/qbittorrent/temp";
|
||||||
"Session\\TempPathEnabled" = "true";
|
"Session\\TempPathEnabled" = "true";
|
||||||
|
"Session\\Port" = "13370";
|
||||||
};
|
};
|
||||||
Network = {
|
Network = {
|
||||||
|
"PortForwardingEnabled" = "false";
|
||||||
"Proxy\\IP" = "10.42.0.2";
|
"Proxy\\IP" = "10.42.0.2";
|
||||||
"Proxy\\Port" = "@Variant(\\0\\0\\0\\x85\\x1e\\xd2)"; # 7890
|
"Proxy\\Port" = "@Variant(\\0\\0\\0\\x85\\x1e\\xd2)"; # 7890
|
||||||
"Proxy\\Type" = "SOCKS5";
|
"Proxy\\Type" = "SOCKS5";
|
||||||
|
@ -60,7 +62,8 @@ in
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
networking.firewall.allowedTCPPorts = [ 80 13370 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 13370 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
mounts = {
|
mounts = {
|
||||||
|
|
Loading…
Reference in a new issue