diff --git a/nixosModules/default.nix b/nixosModules/default.nix index 3817d65..7ae6754 100644 --- a/nixosModules/default.nix +++ b/nixosModules/default.nix @@ -72,6 +72,7 @@ in { "local-fs.target" "nss-user-lookup.target" "umount.target" + "sockets.target" "shutdown.target" "reboot.target" "exit.target" @@ -163,6 +164,8 @@ in { description = "microVM Application runner"; onFailure = ["exit.target"]; onSuccess = ["exit.target"]; + wants = ["sockets.target"]; + after = ["sockets.target"]; wantedBy = ["microvm.target"]; serviceConfig = { Type = "exec";