totoro: add gateway

This commit is contained in:
Luke Granger-Brown 2022-06-25 17:43:30 +00:00
parent a5fb805dfa
commit 5f19f9d783

View file

@ -97,10 +97,6 @@ in {
{ address = "192.168.1.40"; prefixLength = 24; }
];
};
defaultGateway = {
address = "192.168.1.1";
interface = "br-ext";
};
interfaces.br-int = {
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];
@ -144,6 +140,9 @@ in {
networks."40-br-int" = {
linkConfig.RequiredForOnline = "no";
};
networks."40-br-ext" = {
gateway = [ "192.168.1.1" ];
};
};
my.ip.tailscale = "100.122.86.11";