Sops-Nix Env Files Create the plaintext env file to be used Do not commit any plaintext env files into version control Run the command to encrypt the file: sops --input-type binary --output-type binary -e [file]  To edit the file, run the following code: sops --input-type binary --output-type binary [file]