Secrets
This directory contains encrypted secrets managed with sops-nix.
Setup
-
Generate an age key on the target machine:
mkdir -p /etc/age age-keygen -o /etc/age/keys.txt -
Add the public key to
.sops.yaml -
Create/edit secrets:
sops secrets/mail-accounts.yaml sops secrets/env.yaml
Files
env.yaml- Environment variables (WG_HOST, PASSWORD_HASH, etc.)mail-accounts.yaml- Mail server account credentialswireguard-keys.yaml- WireGuard private keysssh-keys.yaml- SSH private keys (mail.private, etc.)