From 64db0229c0f773fd6a83a9913bc377408a7c9a27 Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Sun, 18 Jun 2023 20:08:09 +0200 Subject: [PATCH] Fix failed evaluation without secrets in `blowhole/firewall.nix` Signed-off-by: Magic_RB --- nixos/systems/blowhole/firewall.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/systems/blowhole/firewall.nix b/nixos/systems/blowhole/firewall.nix index a121cd4..8f3e95e 100644 --- a/nixos/systems/blowhole/firewall.nix +++ b/nixos/systems/blowhole/firewall.nix @@ -80,7 +80,7 @@ in localCommands = '' ip link add enp4s0 type dummy || true ip link set enp4s0 up || true - ip addr add ${secret.network.ips.blowhole.ip}/24 dev enp4s0 || true + ip addr add ${secret.network.ips.blowhole.ip or ""}/24 dev enp4s0 || true ''; interfaces = {