Talk:NixOS:nixos-rebuild build-vm
Latest comment: 20 July by Raboof in topic Shouldn't the location to import qemu-vm.nix be clarified?
Shouldn't the location to import qemu-vm.nix be clarified?
Importing outside of virtualisation.vmVariant made my config unbootable as fileSystems.*, boot.initrd.luks.devices all became null. Daanturo (talk) 08:12, 13 June 2026 (UTC)
- Ouch! Good thing you could hopefully just boot into the previous generation.
- I added "add the following to the VM (not the host) configuration" as a start. Do I understand you use one `configuration.nix` for both your host and starting it in qemu? I don't have a test setup like that around so I'm reluctant to make further changes right now ;) Raboof (talk) 18:19, 20 July 2026 (UTC)