Fix failed evaluation without secrets in blowhole/firewall.nix

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-18 20:08:09 +02:00
parent 3b5a09f9cb
commit 64db0229c0
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -80,7 +80,7 @@ in
localCommands = '' localCommands = ''
ip link add enp4s0 type dummy || true ip link add enp4s0 type dummy || true
ip link set enp4s0 up || 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 = { interfaces = {