feat: had to go with qbittorrent (testing ivpn)

This commit is contained in:
Nick 2025-11-26 03:29:06 -06:00
parent 0d43e3650a
commit 3e438a6842
5 changed files with 393 additions and 71 deletions

View file

@ -7,10 +7,10 @@ let
mntPath
secretPath
;
label = "Rqbit";
name = "rqbit";
subdomain = "share";
domain = "${subdomain}.${domain0}";
label = "qBittorrent";
name = "qbittorrent";
short = "share";
domain = "${short}.${domain0}";
secrets = "${secretPath}/${name}";
ssl = "${sslPath}/${domain}";
in
@ -21,10 +21,9 @@ in
domains = {
url0 = domain;
};
subdomain = name;
subdomain = short;
tags = [
name
"rqbit"
"torrent"
"p2p"
];
@ -32,9 +31,9 @@ in
port0 = 3030;
};
interface = {
id = "vm-${name}";
id = "vm-${short}";
mac = "02:00:00:00:56:07";
idUser = "vmuser-${name}";
idUser = "vmuser-${short}";
macUser = "02:00:00:00:00:07";
ip = "192.168.50.117";
gate = "192.168.50.1";
@ -46,7 +45,7 @@ in
key = "${ssl}/key.pem";
};
varPaths = {
path0 = "${varPath}/${name}";
path0 = "${varPath}/${label}";
};
mntPaths = {
path0 = "${mntPath}/${name}";