From a239fc615a7d57568a40f2913763910d99848b48 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Mon, 3 Mar 2025 22:17:29 +0100 Subject: [PATCH] Move key file comment in Bookwyrm from sh to Nix level --- bookwyrm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm.nix b/bookwyrm.nix index adb287a..78bcf52 100644 --- a/bookwyrm.nix +++ b/bookwyrm.nix @@ -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