Add build-modules.yml for Nix module dry-run workflow
Some checks are pending
Build Nix modules (dry-run) / build-modules (push) Waiting to run

This commit is contained in:
Root User 2026-02-12 18:31:12 +01:00
parent 1a0b4a3a53
commit dca2e4ffbf
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 23 additions and 0 deletions

View file

@ -1,28 +0,0 @@
#!/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