Move key file comment in Bookwyrm from sh to Nix level

This commit is contained in:
Reinout Meliesie 2025-03-03 22:17:29 +01:00
parent 1db6bda55e
commit a239fc615a
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -109,7 +109,7 @@ mkDerivation {
export EMAIL_HOST=""
export EMAIL_HOST_USER=""
export EMAIL_HOST_PASSWORD=""
export SECRET_KEY="\$( cat /etc/nixos/assets/bookwyrm-secret-key )" # The escape here is required in order to retrieve the key file contents at runtime
export SECRET_KEY="\$( cat /etc/nixos/assets/bookwyrm-secret-key )" ${/* The escape here is required in order to retrieve the key file contents at runtime */}
${gunicorn}/bin/gunicorn bookwyrm.wsgi:application
EOF