Fix reference to hostname

This commit is contained in:
niten 2023-07-07 23:10:46 -07:00
parent 1ffea0818a
commit a4a8a030c1
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ in {
pictrsApiKey =
readFile (pkgs.lib.passwd.random-passwd-file "lemmy-pictrs-api-key" 30);
in {
fudo.secrets.host-secrets."${hostname}" = {
fudo.secrets.host-secrets."${config.instance.hostname}" = {
lemmyDockerEnv = {
source-file = writeTextFile "lemmy-docker-env" ''
PICTRS__API_KEY=\"${pictrsApiKey}\"