From 1432200cc613a437dbb0fd8120b1e3879cc439db Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 27 Jul 2025 16:42:39 +0300 Subject: [PATCH] use correct port --- hosts/wallfacer/configuration.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hosts/wallfacer/configuration.nix b/hosts/wallfacer/configuration.nix index 173edc9..a4b6cb0 100644 --- a/hosts/wallfacer/configuration.nix +++ b/hosts/wallfacer/configuration.nix @@ -1,6 +1,5 @@ -{ lib, ... }: +{ lib, config, ... }: let - hydraPort = 54543; wallfacerTailscaleDomain = "wallfacer.curl-boga.ts.net"; in { @@ -19,7 +18,7 @@ in "${wallfacerTailscaleDomain}" = { extraConfig = '' handle_path /hydra* { - reverse_proxy localhost:${toString hydraPort} + reverse_proxy localhost:${toString config.services.hydra.port} } handle_path /nextcloud* { retun hello "Nextcloud is not configured yet. Please set up the service."; @@ -27,7 +26,7 @@ in ''; }; }; - networking.firewall.allowedTCPPorts = [ hydraPort ]; + networking.firewall.allowedTCPPorts = [ config.services.hydra.port ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;