No description https://gensokyo.zone
Find a file
2024-03-13 15:21:08 -07:00
.github/workflows feat(ci): manually trigger updates 2024-03-07 08:53:13 -08:00
ci style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
docs feat(keycloak): add, broken 2024-03-13 15:21:08 -07:00
k8s ops(dex): remove 2024-01-24 17:38:20 -08:00
modules style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
nixos feat(keycloak): add, broken 2024-03-13 15:21:08 -07:00
overlays style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
packages style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
systems feat(keycloak): add, broken 2024-03-13 15:21:08 -07:00
tf feat(keycloak): add, broken 2024-03-13 15:21:08 -07:00
.envrc refactor: clean up flake outputs 2024-02-02 11:15:45 -08: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 feat: add syncthing, freepbx 2024-02-28 13:40:41 -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
devShells.nix feat(ci): litterbox 2024-03-01 12:25:46 -08:00
flake.lock chore: flake update 2024-03-12 13:18:18 -07:00
flake.nix chore(k8s): nixpkgs PR was merged 2024-02-19 15:43:49 -08:00
generate.nix style: alejandra $(fd -e nix) 2024-03-13 15:08:42 -07:00
lib.nix refactor(systems): pull out inline modules 2024-02-23 13:10:36 -08:00
outputs.nix refactor(systems): pull out inline modules 2024-02-23 13:10:36 -08:00
readme.md feat(hakurei): docs 2024-02-22 17:21:30 -08:00
shell.nix refactor: clean up flake outputs 2024-02-02 11:15:45 -08:00
tree.nix chore(vouch): clean up local access 2024-02-19 15:20:16 -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.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