1
0

InternalIPs are the ips on the host, not a range or other

This commit is contained in:
clerie 2020-12-07 17:16:42 +01:00
parent 6dab4dc41d
commit dedf409805

View File

@ -33,7 +33,9 @@
externalInterface = "ens18";
externalIP = (lib.head config.networking.interfaces.ens18.ipv4.addresses).address;
internalInterfaces = [ "ens19" ];
internalIPs = "${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address}/${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).prefixLength }";
internalIPs = [
(lib.head config.networking.interfaces.ens19.ipv4.addresses).address
];
};
system.stateVersion = "21.03";