Is this a problem with virtmanager or NixOS itself?

I’ve been trying to run virtmanager for sometime now on NixOS, everything seems to be working as intended except for qcow2 disks (basically the “Import existing disk image” section when creating a VM)

Firstly, it seems that when selecting this option and selecting the qcow2 disk of choice, the OS is not automatically detected AND I have to manually select it (although I’m starting to think it just never automatically detected the OS through this option in the first place), I’ve downloaded 4 qcow2 disks to test: Kali, Arch, OpenSUSE and Fedora.

Arch and OpenSUSE worked just fine, but I’ve had issues with Fedora and Kali (just got the Fedora one as a test) and, my main hypothesis is that it has something to do with me selecting the wrong Operational System but with Kali Linux I’ve selected ALL versions of Debian other than testing and, every time I try to boot it gives the follow error:

BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot (0x0)/Pci(0x2,0x3)/Pci(0x0,0x0): Not Found
BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

is this a problem on the side of Nix or is it a problem with how virtmanager is configured? as always, here is my config file

Maybe the Kali and Fedora images use legacy BIOS instead of UEFI ?

Where did you get the images from ?

I got them officially from their official websites (here for Kali and here for Fedora Cloud)

I will try doing the Kali machine in BIOS instead of UEFI and will report back

UPDATE: Kali in BIOS worked, maybe that was it thanks!