Skip to content

Commit cdc4850

Browse files
committed
nixos-modules/host: specify not only dependencies but also order for [email protected]
Fixes Github issue #260
1 parent 3e07b2b commit cdc4850

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

nixos-modules/host/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,13 @@ in
321321
"microvm-pci-devices@%i.service"
322322
"microvm-virtiofsd@%i.service"
323323
];
324-
after = [ "network.target" ];
324+
after = [
325+
"network.target"
326+
"microvm-tap-interfaces@%i.service"
327+
"microvm-macvtap-interfaces@%i.service"
328+
"microvm-pci-devices@%i.service"
329+
"microvm-virtiofsd@%i.service"
330+
];
325331
unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/microvm-run";
326332
restartIfChanged = false;
327333
preStart = ''

0 commit comments

Comments
 (0)