Build VM for Testing #
Sometimes building a VM to test the configuration before use is helpeful especially if your not a Cowboy with a computer. Here are the steps to build VM: Note: QEMU needs to be enabled to build; cross building (binfmt) needs to be enabled to test for other architectures.
- Build Virtual Machine with
nixos-rebuild build-vm --flake ./#machine
. - Navigate to
result
. - Copy to a user location (External drive, outside of nix store).
- Run like another script:
./vm
file.
ToDo #
Write documentation not including flakes.