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