Files
nixpkgs/nixos/modules/virtualisation/libvirtd.nix
Berk D. Demir e744158bf0 nixos/libvirtd: Make all OVMF images from QEMU package available
- Make OVMF firmware images distributed with QEMU available under
/run/libvirt/nix-ovmf directory

- Repackage OVMF firmware metadata JSON files from QEMU package,
  patching the image file locations to point to stable
  /run/libvirt/nix-ovmf rather than the nix store path of QEMU package.

  And make them available at /var/lib/qemu/firmware, the path libvirt
  uses to verify domain configuration.

- Remove now obsolete `nvram` entry from qemu.conf.
  It was removed by upstream in Nov 2019.
  Eliminates log spam from libvirtd.service.

Fixes #378894
2025-09-23 16:51:48 -07:00

19 KiB