nixos/estuary: Fix BIRD2 startup / route export to kernel

This commit is contained in:
2022-10-08 21:13:16 +01:00
parent 401401f6bc
commit 8300e49b00
2 changed files with 20 additions and 5 deletions

View File

@@ -92,10 +92,25 @@
'';
wantedBy = [ "multi-user.target" ];
};
bird2 =
let
waitOnline = "systemd-networkd-wait-online@wan.service";
in
{
after = [ waitOnline ];
requires = [ waitOnline ];
};
};
};
systemd.network = {
config = {
networkConfig = {
ManageForeignRoutes = false;
};
};
links = {
"10-wan" = {
matchConfig.MACAddress = "d0:50:99:fa:a7:99";