From c78f53567d8ddbe974c4ed9024d1327f32ec55b4 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 8 May 2024 12:29:11 +0200 Subject: [PATCH] Fix hooks --- modules/gpuPassthrough/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/gpuPassthrough/default.nix b/modules/gpuPassthrough/default.nix index 4ed4a54..7c65fdf 100644 --- a/modules/gpuPassthrough/default.nix +++ b/modules/gpuPassthrough/default.nix @@ -16,13 +16,11 @@ with lib; virtualisation.libvirtd = { enable = true; - # hooks.qemu = { - # win10 = { - # prepare.begin = { - - # }; - # }; - # }; + hooks.qemu = { + is_working = "${pkgs.writeShellScript "testHook.sh" '' ++ touch /tmp/qemu_hook_is_working ++ ''}"; + }; }; }; } \ No newline at end of file