From 994a189ade368f0c6b8c5a6b037e1b416cc8a88a Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 29 Oct 2024 02:21:36 +0100 Subject: [PATCH] nixos-modules/host: fix microvm-virtiofsd@ ConditionPathExists --- nixos-modules/host/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-modules/host/default.nix b/nixos-modules/host/default.nix index 50e8795e..f86a41b9 100644 --- a/nixos-modules/host/default.nix +++ b/nixos-modules/host/default.nix @@ -265,7 +265,7 @@ in before = [ "microvm@%i.service" ]; after = [ "local-fs.target" ]; partOf = [ "microvm@%i.service" ]; - unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/run-virtiofsd"; + unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/virtiofsd-run"; restartIfChanged = false; serviceConfig = { WorkingDirectory = "${stateDir}/%i";