No description https://gensokyo.zone
Find a file
2024-01-30 18:20:55 -08:00
.github/workflows feat(reimu): new container 2024-01-28 15:26:08 -08:00
ci feat(reimu): new container 2024-01-28 15:26:08 -08:00
k8s ops(dex): remove 2024-01-24 17:38:20 -08:00
modules feat(reimu): nfs 2024-01-30 15:40:06 -08:00
nixos feat(reimu): nfs 2024-01-30 15:40:06 -08:00
overlays feat(website): move to gensokyo-zone/website 2024-01-27 22:27:21 -08:00
packages chore: migrate away from old nf-deploy script 2024-01-29 11:33:19 -08:00
systems feat(reimu): tailscale 2024-01-30 16:17:40 -08:00
tf fix(freeipa): move to netinst like it was supposed to be 2024-01-30 18:20:55 -08:00
.envrc feat(shell): nf-lint-tf 2024-01-16 11:03:27 -08:00
.gitattributes sops git diff filter 2023-03-29 14:37:31 -07:00
.gitignore feat(shell): nf-lint-tf 2024-01-16 11:03:27 -08:00
.rgignore refactor: get rid of config folder 2022-07-10 13:59:57 -07:00
.sops.yaml chore: migrate away from old nf-deploy script 2024-01-29 11:33:19 -08: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
devShell.nix chore: migrate away from old nf-deploy script 2024-01-29 11:33:19 -08:00
flake.lock ci: flake update 2024-01-30 01:14:07 +00:00
flake.nix feat(website): move to gensokyo-zone/website 2024-01-27 22:27:21 -08:00
inputs.nix trusted and tf-nix inputs removed 2023-04-29 14:15:57 -07:00
outputs.nix fix: shell 2024-01-28 12:22:31 -08:00
patchedInputs.nix chore: migrate away from old nf-deploy script 2024-01-29 11:33:19 -08:00
readme.md chore: migrate away from old nf-deploy script 2024-01-29 11:33:19 -08:00
shell.nix feat: move to flakes 2022-07-10 13:57:40 -07:00
std.nix feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
tree.nix refactor(systems): config -> default, nixos 2024-01-28 10:30:47 -08:00

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 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.local

Editing Secrets

sops nixos/systems/tewi/secrets.yaml

Adding Hosts

nf-sops-keyscan <hostname>
# or on a fresh container...
nf-sops-keyscan ct.local
vim .sops.yaml

Proxmox

Template

nf-tarball ct