Keeping Nix Secrets with Sops: Integration and Applications

When setting up a full NixOS system—or even just a standalone Home Manager module—secrets are often a core part of the configuration. With nix being declarative, it makes a lot of sense to integrate them into the nix configurations, but this needs to be done in a secure manner, so even if your configurations are put on public display your secrets will stay safe(case in point my repository that are a reference for this post)....