nixbld: route ext wifi network

This commit is contained in:
Sebastien Bourdeauducq 2021-03-04 15:54:41 +08:00
parent c500ddfca7
commit a2a7b7458f
1 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,16 @@ in
address = "2001:470:f821:1::";
prefixLength = 64;
}];
ipv4.routes = [{
address = "192.168.13.0";
prefixLength = 24;
via = "192.168.1.205";
}];
ipv6.routes = [{
address = "2001:470:f821:3::";
prefixLength = 64;
via = "2001:470:f821:1:dea6:32ff:fe95:2fcf";
}];
};
interfaces."${netifWifi}" = {
ipv4.addresses = [{