I’m trying to follow this tutorial for sops-nix Managing Secrets in NixOS Home Manager with SOPS. Under Create and Encrypt the Secrets File, I tried nix-shell -p sops --run "sops secrets.yaml"
but I keep getting config file not found, or has no creation rules, and no keys provided through command line options
, despite .sops.yaml
existing in the current directory. What do I do? Is there something I’m missing?
Also, let me know if there’s a better tutorial that explains things for noobs that never used sops at all.