Formatted qbittorrent nix
Deploy / run-nix-build (push) Has been cancelled
Deploy / deploy-site (push) Has been cancelled
Lint / fmt (push) Has been cancelled
Lint / build-website (push) Has been cancelled
Lint / test (push) Has been cancelled

This commit is contained in:
Alexander
2026-04-26 15:57:41 +02:00
parent 8b4a4c67b2
commit 05ff361f3c
+23 -21
View File
@@ -117,30 +117,32 @@ in {
webuiPort = cfg.uiPort; webuiPort = cfg.uiPort;
torrentingPort = cfg.peerPort; torrentingPort = cfg.peerPort;
openFirewall = cfg.openFirewall; openFirewall = cfg.openFirewall;
serverConfig = { serverConfig =
LegalNotice.Accepted = true; {
BitTorrent.Session = { LegalNotice.Accepted = true;
DefaultSavePath = downloadDir; BitTorrent.Session = {
TempPath = "${downloadDir}/.incomplete"; DefaultSavePath = downloadDir;
TempPathEnabled = true;
Port = cfg.peerPort;
"BTProtocol" = "TCP";
};
Preferences = {
WebUI = {
Address =
if cfg.vpn.enable
then "192.168.15.1"
else "0.0.0.0";
Port = cfg.uiPort;
};
Downloads = {
SavePath = downloadDir;
TempPath = "${downloadDir}/.incomplete"; TempPath = "${downloadDir}/.incomplete";
TempPathEnabled = true; TempPathEnabled = true;
Port = cfg.peerPort;
"BTProtocol" = "TCP";
}; };
}; Preferences = {
} // cfg.extraSettings; WebUI = {
Address =
if cfg.vpn.enable
then "192.168.15.1"
else "0.0.0.0";
Port = cfg.uiPort;
};
Downloads = {
SavePath = downloadDir;
TempPath = "${downloadDir}/.incomplete";
TempPathEnabled = true;
};
};
}
// cfg.extraSettings;
}; };
users.users.qbittorrent = { users.users.qbittorrent = {