diff --git a/modules/server/media/qbittorrent.nix b/modules/server/media/qbittorrent.nix index adf0d822..2d9eb68d 100644 --- a/modules/server/media/qbittorrent.nix +++ b/modules/server/media/qbittorrent.nix @@ -113,14 +113,14 @@ in { ExecStart = "${cfg.package}/bin/qbittorrent-nox"; }; - services.nginx.virtualhost."qbittorrent.sako.box" = { - proxyPass = "http://localhost:${toString cfg.port}"; - }; - environment = { QBT_PROFILE = cfg.dataDir; QBT_WEBUI_PORT = toString cfg.port; }; }; + services.nginx.virtualhost."qbittorrent.sako.box" = { + proxyPass = "http://localhost:${toString cfg.port}"; + }; + }; }