From 9ade767a3c6312ebb34f46fb6bf46600044a4be4 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 14 Mar 2024 21:22:44 +0100 Subject: [PATCH] chore: remove hardcoded ipv4 --- hosts/sire/guests/immich.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/sire/guests/immich.nix b/hosts/sire/guests/immich.nix index 2de11d7..baac19a 100644 --- a/hosts/sire/guests/immich.nix +++ b/hosts/sire/guests/immich.nix @@ -172,7 +172,7 @@ in { networking.nftables.chains.forward.into-immich-container = { after = ["conntrack"]; rules = [ - "iifname proxy-sentinel ip saddr 10.43.0.29 tcp dport 3001 accept" + "iifname proxy-sentinel ip saddr ${sentinelCfg.wireguard.proxy-sentinel.ipv4} tcp dport 3001 accept" "iifname podman1 oifname lan accept" ]; };