17 lines
877 B
Markdown
Executable File
17 lines
877 B
Markdown
Executable File
# secrets
|
|
|
|
Encrypted with [agenix](https://github.com/ryantm/agenix). Nothing here is
|
|
required: a secret is only used when its `.age` file exists.
|
|
|
|
| File | Purpose |
|
|
| ----------------------- | -------------------------------------------------------------- |
|
|
| `faumaray-password.age` | Hashed login password (`mkpasswd -m yescrypt`) |
|
|
| `ssh-id_ed25519.age` | Private SSH key for the user |
|
|
| `ssh-id_ed25519.pub` | Matching public key, plaintext (optional) |
|
|
|
|
1. Replace the placeholder public keys in `secrets.nix` (host key and your own).
|
|
2. `cd secrets && agenix -e faumaray-password.age`
|
|
3. `git add` the new `.age` files: flakes only see tracked files.
|
|
|
|
Decryption on the machine uses `/etc/ssh/ssh_host_ed25519_key`.
|