1
0
Fork 0

nixbld: fix routing policy for wifi

This commit is contained in:
Sébastien Bourdeauducq 2024-05-06 10:57:11 +08:00
parent 7f1972fc9d
commit 2cd3ae1337
1 changed files with 13 additions and 0 deletions

View File

@ -144,6 +144,19 @@ in
address = "2001:470:f891:2::"; address = "2001:470:f891:2::";
prefixLength = 64; prefixLength = 64;
}]; }];
# same hack as above
ipv4.routes = [
{
address = "192.168.12.0";
prefixLength = 24;
options.table = "1";
}
{
address = "192.168.12.0";
prefixLength = 24;
options.table = "2";
}
];
}; };
nat = { nat = {
enable = true; enable = true;