I followed the wiki on libvirt https://nixos.wiki/wiki/Libvirt and even set up the config for qemu for uefi but it isn’t recognizing it I guess. Any ideas? Thanks

5 points

It worked for me with just: virtualisation.libvirtd.enable = true; in the configuration.nix.

permalink
report
reply
2 points

This is the way. +1

permalink
report
parent
reply
4 points

I’ve got no experience with nixos (so YMMV), but I do run libvirt . Is virt-manager available in your install and if so what happens when you try to run virt-manager from the command line? IIRC I deployed my Win11 VM straight from the virt-manager gui and didn’t need to touch any of the config files

permalink
report
reply

Do you happen to have OVMF declared?:
Answering external questions

permalink
report
reply