From 1b5a5be0794f730dbad8d6dba5b2167e81f11d6d Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Sat, 20 Sep 2025 17:52:09 -0600 Subject: [PATCH] try again --- nix/home-server.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nix/home-server.nix b/nix/home-server.nix index a9f0650..54c5764 100644 --- a/nix/home-server.nix +++ b/nix/home-server.nix @@ -171,11 +171,17 @@ # environment.etc."qemu/edk2-x86_64-secure-vars.fd".source = "${pkgs.OVMF.fd}/FV/OVMF_VARS.secboot.fd"; environment.etc = { + # Real files live under /etc/static when envfs is enabled "static/qemu/edk2-x86_64-secure-code.fd".source = "${pkgs.OVMF.fd}/FV/OVMF_CODE.ms.fd"; - "static/qemu/edk2-x86_64-secure-vars.fd".source = "${pkgs.OVMF.fd}/FV/OVMF_VARS.ms.fd"; + + # Convenience aliases at /etc/qemu that your VM XML points to + "qemu/edk2-x86_64-secure-code.fd".source = + "/etc/static/qemu/edk2-x86_64-secure-code.fd"; + "qemu/edk2-x86_64-secure-vars.fd".source = + "/etc/static/qemu/edk2-x86_64-secure-vars.fd"; };