21 lines
455 B
Nix
21 lines
455 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.qbittorrent = {
|
|
enable = true;
|
|
user = "wieerwill"; # or a dedicated service user
|
|
group = "users";
|
|
webuiPort = 8080;
|
|
torrentingPort = 51413;
|
|
profileDir = "/var/lib/qbittorrent";
|
|
openFirewall = true;
|
|
|
|
serverConfig = {
|
|
Preferences = {
|
|
Connection.PortRangeMin = 51413;
|
|
Downloads.SavePath = "/home/wieerwill/torrents";
|
|
WebUI.Port = 8080;
|
|
};
|
|
};
|
|
};
|
|
} |