This is a simple flake.nix
for the SMTP key generator.
Steps:
1- Grab the Python script from here. Name it as main.py
.
2- Set the secret key with SECRET_KEY=”insert_secret_key”
.
3- Set the region with REGION=region-code-# (us-east-1, ca-central-1, etc…)
.
3- Run nix run .# -- $SECRET_KEY $REGION
.