From e4a2a7abd015da2d4ada815c5b1f828097fd5152 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 25 Mar 2026 18:51:17 +0100 Subject: [PATCH] edit tunnels Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- hosts/server/configuration.nix | 2 -- server-modules/cloudflared.nix | 6 ++++++ server-modules/glance/default.nix | 6 +----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index ee15bad..a333237 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -19,11 +19,9 @@ # ../../server-modules/eleakxir.nix ../../server-modules/stirling-pdf.nix ../../server-modules/cyberchef.nix - ../../server-modules/linkding.nix ../../server-modules/mazanoke.nix ../../server-modules/nginx.nix ../../server-modules/fail2ban.nix - ../../server-modules/freshrss.nix ../../server-modules/default-creds.nix ../../server-modules/umami.nix diff --git a/server-modules/cloudflared.nix b/server-modules/cloudflared.nix index 063344b..8aa7947 100644 --- a/server-modules/cloudflared.nix +++ b/server-modules/cloudflared.nix @@ -24,6 +24,12 @@ cloudflared ]; + systemd.services."cloudflared-tunnel-a1dfa315-7fc3-4a65-8c02-8387932c35c3" = { + wantedBy = ["multi-user.target"]; + after = ["network-online.target"]; + wants = ["network-online.target"]; + }; + # At the moment (2025), for support of browser rendering of the tunnels, this line is required: services.openssh.settings.Macs = [ "hmac-sha2-256" diff --git a/server-modules/glance/default.nix b/server-modules/glance/default.nix index 53dab96..9a9144c 100644 --- a/server-modules/glance/default.nix +++ b/server-modules/glance/default.nix @@ -14,11 +14,7 @@ server.port = 5678; }; }; - cloudflared.tunnels."a1dfa315-7fc3-4a65-8c02-8387932c35c3".ingress = { - "start.hadi.icu" = "http://localhost:8755"; - "home.hadi.icu" = "http://localhost:8755"; - "glance.hadi.icu" = "http://localhost:8755"; - }; + cloudflared.tunnels."a1dfa315-7fc3-4a65-8c02-8387932c35c3".ingress."home.hadi.icu" = "http://localhost:8755"; nginx.virtualHosts."glance.local" = { listen = [