Wrong function call

This commit is contained in:
niten 2023-07-16 11:35:55 -07:00
parent ff1ed91610
commit 48aacb4763
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ let
} }
''; '';
lemmyCfg = { hostname, postgresPasswd, pictrsApiKey, smtpServer, ... }: makeLemmyCfg = { hostname, postgresPasswd, pictrsApiKey, smtpServer, ... }:
pkgs.writeText "lemmy.hjson" (builtins.toJSON { pkgs.writeText "lemmy.hjson" (builtins.toJSON {
database = { database = {
host = "postgres"; host = "postgres";
@ -340,7 +340,7 @@ in {
}; };
lemmyCfg = { lemmyCfg = {
image = cfg.docker-images.lemmy; image = cfg.docker-images.lemmy;
configFile = makeLemmyImage { configFile = makeLemmyCfg {
inherit (cfg) hostname; inherit (cfg) hostname;
inherit postgresPasswd pictrsApiKey; inherit postgresPasswd pictrsApiKey;
smtpServer = cfg.smtp-server; smtpServer = cfg.smtp-server;