the_prg_server_configuration/nix-system-configs/modules/secrets-config/notes.md

7 lines
No EOL
197 B
Markdown

To generate the keys beforehand
```ssh
nix-shell -p age
sudo mkdir /var/lib/sops-nix
age-keygen -o /var/lib/sops-nix/key.txt
```
And then update the .sops.yaml in the project directory accordingly.