Talk:NixOS:nixos-rebuild build-vm: Difference between revisions
Appearance
Latest comment: 20 July by Raboof in topic Shouldn't the location to import qemu-vm.nix be clarified?
| Line 2: | Line 2: | ||
Importing outside of <code>virtualisation.vmVariant</code> made my config unbootable as <code>fileSystems.*</code>, <code>boot.initrd.luks.devices</code> all became null. [[User:Daanturo|Daanturo]] ([[User talk:Daanturo|talk]]) 08:12, 13 June 2026 (UTC) | Importing outside of <code>virtualisation.vmVariant</code> made my config unbootable as <code>fileSystems.*</code>, <code>boot.initrd.luks.devices</code> all became null. [[User:Daanturo|Daanturo]] ([[User talk: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 ;) [[User:Raboof|Raboof]] ([[User talk:Raboof|talk]]) 18:19, 20 July 2026 (UTC) | |||
Latest revision as of 18:19, 20 July 2026
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)