the_prg_server_configuratio.../dry_run.zsh
Christine Elisabeth Koppel dca2e4ffbf
Some checks are pending
Build Nix modules (dry-run) / build-modules (push) Waiting to run
Add build-modules.yml for Nix module dry-run workflow
2026-02-12 18:31:12 +01:00

28 lines
531 B
Bash
Executable file

#!/usr/bin/env zsh
export NIX_CONFIG="experimental-features = nix-command flakes"
echo "=== nix --version ==="
nix --version
echo
configs=(
"nixos-local-wireguard-server"
"nixos-blank"
"nixos-songsheet"
"nixos-database"
"nixos-forgejo"
"nixos-teamspeak"
"nixos-traefik"
"nixos-build-machine"
)
if [[ -n "$1" ]]; then
configs=("$1")
fi
for config in "${configs[@]}"; do
echo "=== Dry-run: $config ==="
nix build --dry-run ".#nixosConfigurations.${config}.config.system.build.toplevel" || true
echo
done