Imports the tide nixos module from the TIDE flake and configures it for tide.yisroelbaum.com (frontend) and apitide.yisroelbaum.com (backend), reusing the existing wildcard ACME cert. Secrets are pulled from sops-encrypted secrets/tide.yaml; replace the placeholder with real encrypted content before deploy.
616 B
616 B
Secrets
Encrypted with sops using the host's age key.
First-time setup on the server
- Generate an age key for the host:
sudo mkdir -p /var/lib/sops-nix sudo age-keygen -o /var/lib/sops-nix/key.txt sudo chmod 600 /var/lib/sops-nix/key.txt - Read the public key:
sudo grep "public key" /var/lib/sops-nix/key.txt - On a workstation, put that public key into
.sops.yamlat the repo root and encrypttide.yaml.exampleintotide.yaml.
tide.yaml is encrypted and committed. tide.yaml.example is
the plaintext template.