From a4a8a030c154071852159f098f9e7990d4b04ad5 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 7 Jul 2023 23:10:46 -0700 Subject: [PATCH] Fix reference to hostname --- lemmy-docker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy-docker.nix b/lemmy-docker.nix index fb0a6e2..34db96c 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -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}\"