forked from zentralwerk/network
lib/config/options: fix isRouter logic
This commit is contained in:
parent
b243297760
commit
f583833645
|
@ -170,7 +170,7 @@ let
|
||||||
# isRouter = Part of the core network?
|
# isRouter = Part of the core network?
|
||||||
default =
|
default =
|
||||||
config.site.hosts.${name}.interfaces ? core &&
|
config.site.hosts.${name}.interfaces ? core &&
|
||||||
config.site.net.core.hosts4 ? name;
|
config.site.net.core.hosts4 ? ${name};
|
||||||
description = "Should this host route?";
|
description = "Should this host route?";
|
||||||
};
|
};
|
||||||
forwardPorts = mkOption {
|
forwardPorts = mkOption {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user