No description https://gensokyo.zone
Find a file
2024-01-18 17:16:44 -08:00
.github/workflows fix(ci): test all systems 2024-01-14 11:45:50 -08:00
ci fix(ci): check all hosts on update 2024-01-15 12:20:23 -08:00
k8s ops(k8s): add missing lines to kustomizations 2024-01-17 20:57:13 -08:00
modules feat(meta): support nixos builder 2024-01-18 16:51:07 -08:00
nixos chore(tautulli): remove lan access 2024-01-18 17:16:44 -08:00
overlays chore: flake update 2023-12-29 14:37:24 -08:00
packages refactor: move services out of systems/tewi/ 2024-01-09 13:23:49 -08:00
systems fix(mediabox): tautulli url 2024-01-18 17:15:20 -08:00
tf chore(tautulli): remove lan access 2024-01-18 17:16:44 -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 refactor(sops): individual service files 2024-01-16 11:47:50 -08:00
code_of_conduct.md code of conduct no caps 2021-11-11 20:23:11 +00:00
default.nix feat: refactoring + system types 2022-10-02 13:35:55 -07:00
devShell.nix ops(k8s): create app of apps project, deploy flannel with it 2024-01-17 15:39:09 -08:00
flake.lock Revert "ci: flake update" 2024-01-15 12:19:53 -08:00
flake.nix feat: lazy devshell eval 2024-01-13 11:11:34 -08:00
inputs.nix trusted and tf-nix inputs removed 2023-04-29 14:15:57 -07:00
meta.nix feat(meta): support nixos builder 2024-01-18 16:51:07 -08:00
mkTree.nix feat: refactoring + system types 2022-10-02 13:35:55 -07:00
patchedInputs.nix chore: patch nixos k8s bug 2024-01-18 13:10:39 -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
tree.nix refactor: move mosquitto to tei 2024-01-14 11:23:22 -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