Some checks are pending
Build Nix modules (dry-run) / build-modules (push) Waiting to run
28 lines
531 B
Bash
Executable file
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
|