totoro: set default gateway. oops.

This commit is contained in:
Luke Granger-Brown 2022-06-25 17:35:49 +00:00
parent e9a2ac4980
commit a5fb805dfa

View file

@ -97,6 +97,10 @@ in {
{ address = "192.168.1.40"; prefixLength = 24; } { address = "192.168.1.40"; prefixLength = 24; }
]; ];
}; };
defaultGateway = {
address = "192.168.1.1";
interface = "br-ext";
};
interfaces.br-int = { interfaces.br-int = {
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }]; ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];