nixos/colony: Fix wan dependencies for estuary

This commit is contained in:
Jack O'Sullivan 2022-07-01 02:30:29 +01:00
parent 2e63a56dd4
commit 414fa50b30

View File

@ -67,10 +67,21 @@
};
"75-vm-wan10g" = {
matchConfig.Name = "vm-wan10g";
linkConfig.RequiredForOnline = "carrier";
linkConfig.RequiredForOnline = "no";
};
};
};
services = {
"vm@estuary" =
let
vtapUnit = "sys-subsystem-net-devices-vm\\x2dwan10g.device";
in
{
requires = [ vtapUnit ];
after = [ vtapUnit ];
};
};
};
my = {
@ -91,6 +102,7 @@
tapFD = 100;
# Real hardware MAC
mac = "00:02:c9:56:24:6e";
waitOnline = false;
};
base = {
waitOnline = "carrier";