renge/forgejo: Use new secret passing mechanism
This commit is contained in:
parent
d23c15da90
commit
9ee7211cc1
|
@ -20,7 +20,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
database.type = "postgres";
|
database.type = "postgres";
|
||||||
mailerPasswordFile = config.sops.secrets.forgejo-mail.path;
|
|
||||||
settings = {
|
settings = {
|
||||||
DEFAULT = {
|
DEFAULT = {
|
||||||
APP_NAME = "sbrudergit";
|
APP_NAME = "sbrudergit";
|
||||||
|
@ -66,6 +65,11 @@ in
|
||||||
LEVEL = "Warn";
|
LEVEL = "Warn";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
secrets = {
|
||||||
|
mailer = {
|
||||||
|
PASSWD = config.sops.secrets.forgejo-mail.path;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ cfg.settings.server.SSH_PORT ];
|
networking.firewall.allowedTCPPorts = [ cfg.settings.server.SSH_PORT ];
|
||||||
|
|
Loading…
Reference in a new issue