How to manage secrets in NixOS using sops-nix
Learn how to manage the secrets of your NixOS configurations with sops-nix, an atomic, declarative, and easily reproducible module based on sops.
Learn how to manage the secrets of your NixOS configurations with sops-nix, an atomic, declarative, and easily reproducible module based on sops.
Background This afternoon, while doing some cleaning on my work computer, I noticed that I was running low on space in the system partition. One of the advantages of NixOS is that every time you make changes to the configuration, dependencies are kept linked so you can revert to them as needed. However, I accidentally deleted all the system’s bootloader files that point to each of these generations. My intention was only to keep the latest one, but I ended up deleting them all....