diff --git a/lemmy-docker.nix b/lemmy-docker.nix index 59ddc72..bdeca04 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -7,7 +7,7 @@ let hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}"; makeEnvFile = envVars: - let envLines = mapAttrsToList (var: val: ''${val}="${val}"'') envVars; + let envLines = mapAttrsToList (var: val: ''${var}="${val}"'') envVars; in pkgs.writeText "envFile" (concatStringsSep "\n" envLines); makeLemmyImage = { port, stateDirectory, proxyCfg, lemmyCfg, lemmyUiCfg