current build

This commit is contained in:
ari committed 2026-06-21 00:11:14 -04:00
1 parent 842ac07091
commit c031fc7ae1
11 files changed
+401 -1

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
# secrets/
Age-encrypted secret files managed with [agenix](https://github.com/ryantm/agenix).
## Contents
| File | Description |
|---|---|
| `dns-addresses.conf.age` | DNS address overrides for the dnsmasq module |
| `glmain.json.age` | OpenWrt router credentials/config for `glmain` |
## ⚠️ Agent Warning
**Do not read, write, decrypt, or delete any `.age` file.**
These files are encrypted and can only be decrypted by authorized SSH keys.
Editing them outside of `agenix` will corrupt the secret.
## Workflow (for humans)
```bash
# Edit a secret (decrypts, opens editor, re-encrypts)
skyg secrets edit dns-addresses.conf.age
# Re-key all secrets (e.g. after adding a new host key)
skyg secrets rekey
```
## Adding a New Secret
1. Add the `.age` filename and authorized public keys to `secrets.nix`
2. Run `skyg secrets edit <name>.age` to create and encrypt the file
3. Reference it in a module via `config.age.secrets.<name>.path`
See `docs/agenix.md` for the full workflow reference.