Damn...val -> var
This commit is contained in:
parent
640c1fdaec
commit
9ced953443
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue