Handling Secrets in NixOS: An Overview (git-crypt, agenix, sops-nix, and when to use them)
Handling Secrets in NixOS: An Overview (git-crypt, agenix, sops-nix, and when to use them)

Handling Secrets in NixOS: An Overview

Handling Secrets in NixOS: An Overview (git-crypt, agenix, sops-nix, and when to use them)
Handling Secrets in NixOS: An Overview
In a previous comment thread someone asked me if I could talk about
sops-nix
in comparison toagenix
, so here is a write-up on the different approaches for handling secrets in NixOS and when I think each of them is appropriate (with lots of example code!)Thanks for writing this up!