change from mono-home-manager to full flake multi-system configuration
This commit is contained in:
21
modules/qbittorrent.nix
Normal file
21
modules/qbittorrent.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user