From 7fa04f6724046a23847d6e2dc1076a133deaafe8 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Thu, 30 May 2024 05:05:15 +0200 Subject: [PATCH] Move ports idk aFKsdlfkjsldkfj --- 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 4abf4a1..d5613f3 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -24,6 +24,7 @@ in extraOptions = [ "--network=container:openvpn-client" ]; dependsOn = [ "openvpn-client" ]; volumes = [ "${dataDir}:/downloads" "${configDir}:/config" ]; + ports = [ "${toString port}:${toString port}" ]; environment = { WEBUI_PORT = toString port; @@ -40,7 +41,6 @@ in ]; volumes = [ "${vpnConfigDir}:/data/vpn" ]; - ports = [ "${toString port}:${toString port}" ]; environment = { KILL_SWITCH = "on"; # Turns off internet access if the VPN connection drops