# Sops-Nix Env Files

1. Create the plaintext env file to be used <p class="callout danger">Do not commit any plaintext env files into version control</p>
2. Run the command to encrypt the file: `sops --input-type binary --output-type binary -e [file]`
3. To edit the file, run the following code: `sops --input-type binary --output-type binary [file]`