Wrong function call
This commit is contained in:
parent
ff1ed91610
commit
48aacb4763
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue