[Solved] How to install NixOS text-only in libvirt?

It’s booting as normal but without connecting to the serial console. That’s the 5th option in the bootloader, I dont know if there’s an easy way to select it without connecting to the display unfortunately.

Potential solutions to the best of my knowledge

  • look inside the iso and do a direct kernel boot with the correct command line.
  • use the OVA from nixos.org, there are ways to import OVAs into libvirt.
  • try cloud-init. There is support for that in NixOS but I dont think we have pre-built cloud-init images…
2 Likes