From 39965752965ba33d7642a9b6f45fa3cd1b7efed8 Mon Sep 17 00:00:00 2001 From: wo2wz <189177184+wo2wz@users.noreply.github.com> Date: Fri, 14 Nov 2025 12:12:07 -0500 Subject: [PATCH] modules/nixos/services/homeserver: use more substitutions in port numbers in caddy configs --- modules/nixos/services/homeserver/ntfy.nix | 2 +- modules/nixos/services/homeserver/uptime-kuma.nix | 2 +- modules/nixos/services/homeserver/zipline.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/services/homeserver/ntfy.nix b/modules/nixos/services/homeserver/ntfy.nix index 0b6af1c..504f0e2 100644 --- a/modules/nixos/services/homeserver/ntfy.nix +++ b/modules/nixos/services/homeserver/ntfy.nix @@ -9,7 +9,7 @@ bind tailscale/ntfy - reverse_proxy localhost:8006 + reverse_proxy localhost${config.services.ntfy-sh.settings.listen-http} ''; users = { diff --git a/modules/nixos/services/homeserver/uptime-kuma.nix b/modules/nixos/services/homeserver/uptime-kuma.nix index 02c5189..9ddf38d 100755 --- a/modules/nixos/services/homeserver/uptime-kuma.nix +++ b/modules/nixos/services/homeserver/uptime-kuma.nix @@ -7,7 +7,7 @@ import default-settings import cloudflare-tls - reverse_proxy localhost:8005 + reverse_proxy localhost:${config.services.uptime-kuma.settings.PORT} ''; services.uptime-kuma = { diff --git a/modules/nixos/services/homeserver/zipline.nix b/modules/nixos/services/homeserver/zipline.nix index 074d962..69ff828 100755 --- a/modules/nixos/services/homeserver/zipline.nix +++ b/modules/nixos/services/homeserver/zipline.nix @@ -9,7 +9,7 @@ import default-settings import cloudflare-tls - reverse_proxy localhost:8001 + reverse_proxy localhost:${toString config.services.zipline.settings.CORE_PORT} ''; users.users.zipline = {