Open dawidd6 opened 3 months ago
I encountered this as well. I was able to work around it by adding qemu
to my environment.systemPackages
and the following snippet to my nixos config (longer explanation here):
systemd.tmpfiles.rules =
let
firmware =
pkgs.runCommandLocal "qemu-firmware" { } ''
mkdir $out
cp ${pkgs.qemu}/share/qemu/firmware/*.json $out
substituteInPlace $out/*.json --replace ${pkgs.qemu} /run/current-system/sw
'';
in
[ "L+ /var/lib/qemu/firmware - - - - ${firmware}" ];
@lasandell this works, thanks!
Describe the bug
When I try to create a simple Ubuntu 24.04 VM from official ISO image with UEFI firmware, I get this error:
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
VM is created and boots just fine.
Screenshots
Shown above.
Notify maintainers
@NixOS/gnome
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.