#!/bin/bash set -euo pipefail # This script assumes 'flake.nix' and 'configuration.nix' are in the parent directory # and outputs the result to a symlink named 'result' echo "Building NixOS image..." nix build .#nixosConfigurations.proxmox-vm.config.system.build.qemu-image echo "NixOS image build complete."