mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
No description
https://gensokyo.zone
|
Some checks failed
nodes / nodes-aya (push) Failing after 15s
nodes / nodes check (push) Failing after 49s
nodes / nodes-ct-meiling (push) Failing after 13s
nodes / nodes-ct-reisen (push) Failing after 12s
nodes / nodes-extern-test (push) Failing after 12s
nodes / nodes-gengetsu (push) Failing after 12s
nodes / nodes-hakurei (push) Failing after 13s
nodes / nodes-keycloak (push) Failing after 12s
nodes / nodes-kuwubernetes (push) Failing after 18s
nodes / nodes-litterbox (push) Failing after 12s
nodes / nodes-litterbox-2 (push) Failing after 12s
nodes / nodes-logistics (push) Failing after 11s
nodes / nodes-mediabox (push) Failing after 13s
nodes / nodes-minecraft (push) Failing after 12s
nodes / nodes-mugetsu (push) Failing after 12s
nodes / nodes-packages (push) Failing after 12s
nodes / nodes-reimu (push) Failing after 12s
nodes / nodes-tei (push) Failing after 12s
nodes / nodes-utsuho (push) Failing after 18s
|
||
|---|---|---|
| .github/workflows | ||
| ci | ||
| docs | ||
| k8s | ||
| modules | ||
| nixos | ||
| overlays | ||
| packages | ||
| systems | ||
| tf | ||
| .editorconfig | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .rgignore | ||
| .sops.yaml | ||
| .terraformignore | ||
| code_of_conduct.md | ||
| default.nix | ||
| devShells.nix | ||
| flake.lock | ||
| flake.nix | ||
| generate.nix | ||
| lib.nix | ||
| outputs.nix | ||
| readme.md | ||
| shell.nix | ||
| tree.nix | ||
gensokyo.zone's Infrastructure
Welcome to the Palace of the Earth Spirits!
Contribution Guidelines
Nix
- Please use alejandra as your source formatter.
- Please check for dead code paths with deadnix.
- Please use statix as your linter.
Terraform
- Please use
terraform fmtto format your Terraform work. - Please use tflint as your linter.
- Please do not merge into files by category (e.g. variables, outputs, locals).
Build and Deploy
The -s disables flake checks.
# without trace
deploy -s .#<hostname>
# with trace
deploy -s .#<hostname> -- --show-trace
# deploy a fresh container
deploy -s .#<hostname> --hostname ct-reisen.local
Editing Secrets
sops nixos/systems/tewi/secrets.yaml
Adding Hosts
nf-sops-keyscan <hostname>
# or on a fresh container...
nf-sops-keyscan ct-reisen.local
vim .sops.yaml
for nfsecret in access nix; do sops updatekeys nixos/secrets/$nfsecret.yaml; done
Updating
Terraform
nf-tf init -upgrade
Proxmox
Template
nf-tarball ct-reisen