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;
torrentingPort = cfg.peerPort;
openFirewall = cfg.openFirewall;
serverConfig = {
LegalNotice.Accepted = true;
BitTorrent.Session = {
DefaultSavePath = downloadDir;
TempPath = "${downloadDir}/.incomplete";
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;
serverConfig =
{
LegalNotice.Accepted = true;
BitTorrent.Session = {
DefaultSavePath = downloadDir;
TempPath = "${downloadDir}/.incomplete";
TempPathEnabled = true;
Port = cfg.peerPort;
"BTProtocol" = "TCP";
};
};
} // cfg.extraSettings;
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";
TempPathEnabled = true;
};
};
}
// cfg.extraSettings;
};
users.users.qbittorrent = {