Hey everyone! I’m new to Nix, and I’m trying to wrap my mind around the right way to tackle this problem. I’m running Ubuntu 18.04 with Nix and home-manager. I installed virt-manager by adding it to my home-manager config, which was great. But now I’m getting an error message when I run virt-manager:
The libvirtd service does not appear to be installed. Install and run the libvirtd service to manage virtualization on this host.
Could not detect a default hypervisor. Make sure the appropriate qemu/kvm virtualization packages are installed to manage virtualization on this host.
Fair enough, I need libvirtd. However, I haven’t been able to find libvirtd in the nix package search. And if such a package does exist in the nix package system, why isn’t it set as a requirement of virt-manager?
I’d like to solve this via my home-manager config. Barring that, I’d like to use Nix independent of home-manager. If all else fails, I can apt-get and use the system default package stuff.
This wiki article is where I’d start if I was not using Nix at all. I’m not really sure how to do this with Nix however. Any and all advice is appreciated!