From f583833645ef1d8c26df3df75e0f5da1fa7799a5 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 12 Apr 2021 22:35:02 +0200 Subject: [PATCH] lib/config/options: fix isRouter logic --- nix/lib/config/options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/lib/config/options.nix b/nix/lib/config/options.nix index 0e71334..f898135 100644 --- a/nix/lib/config/options.nix +++ b/nix/lib/config/options.nix @@ -170,7 +170,7 @@ let # isRouter = Part of the core network? default = config.site.hosts.${name}.interfaces ? core && - config.site.net.core.hosts4 ? name; + config.site.net.core.hosts4 ? ${name}; description = "Should this host route?"; }; forwardPorts = mkOption {