Build VM for Testing

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.

  1. Build Virtual Machine with nixos-rebuild build-vm --flake ./#machine.
  2. Navigate to result.
  3. Copy to a user location (External drive, outside of nix store).
  4. Run like another script: ./vm file.

ToDo #

Write documentation not including flakes.