Here lies my NixOS configs. To build a virtual machine and test it out, do this:
-
cd
into this directory -
Build the NixOS VM. A symlink
result
will be created.nixos-rebuild build-vm --flake .#nixos-vm --impure
--impure is needed for now, to fix next time
-
Start the NixOS VM. On first boot, a QEMU image
.qcow
file will be created.result/bin/run-*-vm