No description https://gensokyo.zone
Find a file
2024-01-27 20:12:38 -08:00
.github/workflows fix(ci): regen actions 2024-01-19 17:14:12 -08:00
ci fix(ci): change key to nixosConfigurations 2024-01-27 20:09:07 -08:00
k8s ops(dex): remove 2024-01-24 17:38:20 -08:00
modules/nixos feat(meta): remove meta 2024-01-27 20:12:38 -08:00
nixos feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
overlays feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
packages chore: nf-lint-nix and nf-fmt-nix 2024-01-25 13:11:24 -08:00
systems feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
tf feat(tf): proxprovider 2024-01-26 14:53:10 -08:00
.envrc feat(shell): nf-lint-tf 2024-01-16 11:03:27 -08:00
.envrc.kat 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 ops(k8s): fix secret system for k8s 2024-01-20 13:39:58 -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 feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
flake.lock feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
flake.nix feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
inputs.nix trusted and tf-nix inputs removed 2023-04-29 14:15:57 -07:00
outputs.nix feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
patchedInputs.nix feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -08:00
readme.md Fix duplicate README 2024-01-14 13:44:15 -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 feat: replaced deploy system, migrated to infrastructure's methodologies 2024-01-27 20:07:28 -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

:; export NF_HOST=tewi
:; nf-deploy build
# switch without committing to it...
:; nf-deploy test
# then deploy..!
:; nf-deploy switch

The above is just a convenience wrapper around nixos-rebuild:

:; nixos-rebuild switch --flake .#tewi --target-host tewi --use-remote-sudo

Editing Secrets

sops nixos/systems/tewi/secrets.yaml

Adding Hosts

NF_ADDR=10.1.1.xxx nf-deploy sops-keyscan
vim .sops.yaml

Proxmox

Template

NF_HOST=reisen-ct nf-deploy tarball