mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(tf): generate records
This commit is contained in:
parent
9cc471e2dc
commit
43ccdaac9a
8 changed files with 266 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue