update mods and options

This commit is contained in:
2025-01-21 23:27:39 -05:00
parent aecc71d1a3
commit cb42a4b357
4 changed files with 42 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
pkgs,
config,
service_configs,
username,
...
}:
{
@@ -33,8 +34,8 @@
WebUI = {
AlternativeUIEnabled = true;
RootFolder = "${pkgs.fetchzip {
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.19.0/vuetorrent.zip";
sha256 = "cIY5fhcLyEPwt5D2T0S4KhAbb8Qmd9m3xcsQTa4FX+8=";
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.21.0/vuetorrent.zip";
sha256 = "ELerk/4q+eR3rmCx/jFoDirrmx12D+5JBfDZjkPK5wA=";
}}";
# disable auth because we use caddy for auth
@@ -48,16 +49,18 @@
};
};
serverConfig.BitTorrent.Session = {
GlobalUPSpeedLimit = 500; # in KiB/s
GlobalDLSpeedLimit = 0;
serverConfig.BitTorrent = {
Session = {
GlobalUPSpeedLimit = 500; # in KiB/s
GlobalDLSpeedLimit = 0;
# Including overhead in limits ruins download because download
# uses upload to communicate with seeders
IncludeOverheadInLimits = false;
# Including overhead in limits ruins download because download
# uses upload to communicate with seeders
IncludeOverheadInLimits = false;
GlobalMaxRatio = 6;
QueueingSystemEnabled = false; # seed all torrents all the time
GlobalMaxRatio = 2;
QueueingSystemEnabled = false; # seed all torrents all the time
};
};
};
@@ -71,4 +74,9 @@
enable = true;
vpnNamespace = "wg";
};
users.users.${username}.extraGroups = [
config.services.qbittorrent.group
];
}