From 834bb7dfc127e7048021add8699fdd3a4fcddd17 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Sat, 1 Jun 2024 01:14:49 +0200 Subject: [PATCH] Please just work, qbit :sob: --- hosts/nixos/lapetus/services/qbittorrent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/qbittorrent.nix b/hosts/nixos/lapetus/services/qbittorrent.nix index e211bb4..936da12 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -26,7 +26,6 @@ in extraOptions = [ "--network=container:gluetun" ]; dependsOn = [ "gluetun" ]; volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ]; - ports = [ "${toString port}:${toString port}" ]; environment = { WEBUI_PORT = toString port; @@ -43,6 +42,7 @@ in "--device=/dev/net/tun" ]; + ports = [ "${toString port}:${toString port}" ]; environmentFiles = [ config.sops.secrets.vpn_env.path ]; environment = { VPN_TYPE = "wireguard";