No description https://gensokyo.zone
Find a file
2025-10-20 09:39:39 -07:00
.github/workflows feat: meiling 2025-09-06 23:05:37 -07:00
ci fix(prox): setup 2025-09-09 05:42:31 -07:00
docs feat(mugetsu): nf-generate 2024-11-20 14:14:06 -08:00
k8s feat(k8s/sys/argocd): fix "inigress" 2024-09-12 10:59:09 -07:00
modules fix(nftables): empty peeps 2025-10-20 09:39:39 -07:00
nixos fix(nixos): compatibility updates 2025-09-25 15:11:36 -07:00
overlays fix(packages): freeipa-ipasam 2025-09-07 05:15:39 -07:00
packages fix(packages): freeipa-ipasam 2025-09-07 05:15:39 -07:00
systems fix: tailscale info 2025-09-20 14:46:09 -07:00
tf fix(prox): setup 2025-09-09 05:42:31 -07:00
.editorconfig chore(klipper): some calibration 2024-09-10 15:49:53 -07:00
.envrc feat(ci): ldap shell aliases 2024-03-17 15:23:20 -07:00
.gitattributes sops git diff filter 2023-03-29 14:37:31 -07:00
.gitignore style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
.rgignore refactor: get rid of config folder 2022-07-10 13:59:57 -07:00
.sops.yaml fix: sops updatekeys 2025-09-20 14:37:11 -07:00
.terraformignore chore(ci): minor updates 2025-09-06 23:05:37 -07:00
code_of_conduct.md code of conduct no caps 2021-11-11 20:23:11 +00:00
default.nix feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
devShells.nix chore: nf-fmt-nix 2024-05-13 15:31:34 -07:00
flake.lock chore(ci): minor updates 2025-09-06 23:05:37 -07:00
flake.nix chore(ci): flake update tree 2025-08-29 17:14:32 -07:00
generate.nix feat: meiling 2025-09-06 23:05:37 -07:00
lib.nix feat(access): a llama 2024-09-12 16:52:51 -07:00
outputs.nix chore(ci): flake update 2024-07-02 07:50:44 -07:00
readme.md feat: meiling 2025-09-06 23:05:37 -07:00
shell.nix refactor: clean up flake outputs 2024-02-02 11:15:45 -08:00
tree.nix fix: remove unnecessary modules 2025-01-04 16:08:24 -08:00

gensokyo.zone's Infrastructure

docs-badge

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 fmt to 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