I have a couple of questions on how to reference files that arent a part of the nixos config. Mostly things like secrets and certificates.
For secrets I am using sops-nix while I know how it works in a cursory way and I have made it work but Im unsure where these generated files get placed and what the best ways are to reference them.
So where does it place it place these files and in what ways can I reference them?
I am referencing keys from user and etc directories using sops-nix but Im not sure if its the best approach since anything outside the scope of the nix-config is considered “impure”. I can get around this using tools like cat and symlinking but is this a good approach?
Also:
What is for nix considered pure or impure and how does it decide that?
Finally wheres the best place to files that aren’t a part of the nix config but do needed to be referenced by the nix config?