lib/config/options: fix isRouter logic
parent
b243297760
commit
f583833645
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue