diff --git a/systems/tei/cloudflared.nix b/systems/tei/cloudflared.nix index ad92afdc..e7519a7d 100644 --- a/systems/tei/cloudflared.nix +++ b/systems/tei/cloudflared.nix @@ -28,9 +28,6 @@ service = "https://${accessHostFor args}:${toString port}"; originRequest.noTLSVerify = true; }; - ingressForDeluge = { host, port ? system.services.deluge.web.port, hostName, system ? systemFor hostName, ... }@args: nameValuePair host { - service = "http://${accessHostFor args}:${toString port}"; - }; in { sops.secrets.cloudflared-tunnel-apartment.owner = cfg.user; sops.secrets.cloudflared-tunnel-apartment-deluge.owner = cfg.user; @@ -46,14 +43,6 @@ in { (ingressForVouch { inherit hostName; }) (ingressForKanidm { inherit hostName; }) ]; - extraTunnel.ingress = mkMerge [ - (listToAttrs [ - (ingressForDeluge { host = "deluge"; hostName = "tewi"; access = "tail"; }) - ]) - { - deluge.hostname._secret = config.sops.secrets.cloudflared-tunnel-apartment-deluge.path; - } - ]; }; }; };