Files
Nomarchy/bin/nomarchy-test-vm
Bernardo Magri 33deeb494b initial commit
2026-04-01 17:06:01 +01:00

16 lines
425 B
Bash
Executable File

#!/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.vm.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