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

Nix / NixOS

1776 readers
1 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
[–] uthredii 5 points 3 months ago (1 children)

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

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

This is the way. +1

[–] [email protected] 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

[–] recursive_recursion 2 points 3 months ago

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