this post was submitted on 06 Aug 2024
11 points (92.3% liked)

Nix / NixOS

1738 readers
2 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

top 4 comments
sorted by: hot top controversial new old
[–] uthredii@programming.dev 5 points 3 months ago (1 children)

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

[–] lavafroth@lemmy.dbzer0.com 2 points 2 months ago

This is the way. +1

[–] Boris_NotTooBadinoff@lemmy.world 4 points 3 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

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