feat(nixos/services): add qemu-system-x86_64-uefi script

Added a custom shell script for qemu-system-x86_64 enabling UEFI support using OVMF. This ensures that the command uses the specified OVMF firmware for UEFI boot.
This commit is contained in:
Harald Hoyer 2024-09-04 13:23:01 +02:00
parent 85a03f633a
commit bcf049144c

View file

@ -67,6 +67,11 @@ in
vim
virt-manager
wget
(pkgs.writeShellScriptBin "qemu-system-x86_64-uefi" ''
qemu-system-x86_64 \
-bios ${pkgs.OVMF.fd}/FV/OVMF.fd \
"$@"
'')
];
shells = [ pkgs.fish pkgs.bash ];
};