use native qbittorrent

This commit is contained in:
2024-11-13 10:04:33 -05:00
parent eeb4dfae7a
commit 2c245e1425
4 changed files with 65 additions and 48 deletions

View File

@@ -13,56 +13,14 @@
./hardware.nix
./services/jellyfin.nix
./services/caddy.nix
./services/quadlet.nix
# ./services/quadlet.nix
./services/immich.nix
./services/gitea.nix
./services/minecraft.nix
# ./services/llm.nix
# ./services/soulseek.nix
./services/qbittorrent.nix
];
# vpnNamespaces.wg = {
# enable = true;
# wireguardConfigFile = ./secrets/wg0.conf;
# accessibleFrom = [
# # "192.168.1.0/24"
# # "127.0.0.1"
# "0.0.0.0/32"
# ];
# # portMappings = [
# # {
# # from = config.services.qbittorrent.webuiPort;
# # to = config.services.qbittorrent.webuiPort;
# # }
# # ];
# openVPNPorts = [
# {
# port = config.services.qbittorrent.webuiPort;
# protocol = "tcp";
# }
# ];
# };
# services.qbittorrent = {
# enable = true;
# openFirewall = true;
# package = pkgs.qbittorrent-nox;
# webuiPort = service_configs.ports.torrent;
# serverConfig.LegalNotice.Accepted = true;
# serverConfig.Preferences.WebUI = {
# AlternativeUIEnabled = true;
# RootFolder = "${pkgs.fetchzip {
# url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.17.0/vuetorrent.zip";
# hash = "sha256-PpumQCgIZp9wENL1XZvf7CdUAW9W0pQP5wqtG9oOUpM=";
# }}";
# };
# };
# systemd.services.qbittorrent.vpnConfinement = {
# enable = true;
# vpnNamespace = "wg";
# };
systemd.targets = {
sleep.enable = false;
suspend.enable = false;