lib/config/options: disable isRouter for servers
This commit is contained in:
parent
8e3ca3bc7c
commit
9be5565030
|
@ -348,7 +348,8 @@ 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} &&
|
||||
config.site.hosts.${name}.role == "container";
|
||||
description = "Should this host route?";
|
||||
};
|
||||
firewall.enable = mkOption {
|
||||
|
|
Loading…
Reference in New Issue