nixos-module/network.nix: fix gw4
This commit is contained in:
parent
58f8441a1e
commit
8a5f17806d
|
@ -51,7 +51,7 @@ in
|
|||
) (builtins.attrValues netConfig.hosts6);
|
||||
|
||||
gateway = with lib;
|
||||
optional (gw4 != null) netConfig.${gw4} ++
|
||||
optional (gw4 != null) config.site.net.${ifName}.hosts4.${gw4} ++
|
||||
optional (gw6 != null) (findGw6 ifName gw6);
|
||||
|
||||
}) config.site.hosts.${hostName}.interfaces;
|
||||
|
|
Loading…
Reference in New Issue