lib/config/options: fix isRouter logic

This commit is contained in:
Astro 2021-04-12 22:35:02 +02:00
parent b243297760
commit f583833645
1 changed files with 1 additions and 1 deletions

View File

@ -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 {