try and do native qbittorrent
This commit is contained in:
@@ -21,6 +21,48 @@
|
||||
# ./services/soulseek.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;
|
||||
|
||||
Reference in New Issue
Block a user