#!/usr/bin/env bash # Build and run the Nomarchy VM (installed environment) for testing. echo "Building Nomarchy VM (Installed Environment)..." echo "Note: To test the INSTALLER, run 'nomarchy-test-installer' instead." nix build .#nixosConfigurations.default.config.system.build.vm if [ $? -eq 0 ]; then echo "Success! Launching VM..." ./result/bin/run-nomarchy-vm else echo "Error: VM build failed." exit 1 fi