From b333c4ab659c3159504df4ce28f817a8edc1cdc8 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 20 Aug 2025 13:37:17 +0200 Subject: [PATCH] tap-up: execute after network.target required bridge devices may not exists until `network.target` is reached --- nixos-modules/host/default.nix | 1 + 1 file changed, 1 insertion(+) 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 = {