diff --git a/nixos-modules/host/default.nix b/nixos-modules/host/default.nix index d6427e37..22976c5f 100644 --- a/nixos-modules/host/default.nix +++ b/nixos-modules/host/default.nix @@ -132,6 +132,7 @@ in description = "Setup MicroVM '%i' TAP interfaces"; before = [ "microvm@%i.service" ]; partOf = [ "microvm@%i.service" ]; + after = [ "network.target" ]; unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/tap-up"; restartIfChanged = false; serviceConfig = {