Sops
Atomic secret provisioning for NixOS based on sops.
View the nix-core NixOS module on GitHub.
References
Config
flake.nix
Setup
Generate an age key for your host from its ssh host key:
Then, add it to .sops.yaml
.
Host configuration:
No additional configuration is required. Each module's documentation entry will tell you if it uses sops and what secrets it expects.
Update Keys
Update the keys of your SOPS files after making changes to .sops.yaml
: