Damn...val -> var

This commit is contained in:
niten 2023-07-16 22:41:11 -07:00
parent 640c1fdaec
commit 9ced953443
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ let
hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}"; hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}";
makeEnvFile = envVars: 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); in pkgs.writeText "envFile" (concatStringsSep "\n" envLines);
makeLemmyImage = { port, stateDirectory, proxyCfg, lemmyCfg, lemmyUiCfg makeLemmyImage = { port, stateDirectory, proxyCfg, lemmyCfg, lemmyUiCfg