this post was submitted on 06 Aug 2024
10 points (100.0% liked)

Nix / NixOS

1732 readers
9 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

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

all 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 months ago (1 children)

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

[–] [email protected] 1 points 2 months ago

This is the way. +1

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 2 points 2 months ago

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