9 lines
311 B
Bash
9 lines
311 B
Bash
#!/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."
|