feat(tf): generate records

This commit is contained in:
arcnmx 2024-03-24 13:38:36 -07:00
parent 9cc471e2dc
commit 43ccdaac9a
8 changed files with 266 additions and 25 deletions

View file

@ -3,6 +3,7 @@ set -eu
for node in reisen; do
nix eval --json "${NF_CONFIG_ROOT}#lib.generate.$node.users" | jq -M . > "$NF_CONFIG_ROOT/systems/$node/users.json"
nix eval --json "${NF_CONFIG_ROOT}#lib.generate.$node.systems" | jq -M . > "$NF_CONFIG_ROOT/systems/$node/systems.json"
done
for ciconfig in "${NF_CONFIG_FILES[@]}"; do