From 987faea20055f77544ef4aace07aa562ae50f374 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 10 Jun 2024 15:11:50 +0200 Subject: [PATCH] Move qbit port declaration to vpn --- 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 facae48..896899c 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; @@ -42,6 +41,7 @@ in "--cap-add=net_admin" "--device=/dev/net/tun" ]; + ports = [ "${toString port}:${toString port}" ]; environmentFiles = [ config.sops.secrets.vpn_env.path ]; environment = {