renge/forgejo: Use new secret passing mechanism

This commit is contained in:
Simon Bruder 2024-12-15 17:05:41 +01:00
parent d23c15da90
commit 9ee7211cc1
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -20,7 +20,6 @@ in
enable = true;
};
database.type = "postgres";
mailerPasswordFile = config.sops.secrets.forgejo-mail.path;
settings = {
DEFAULT = {
APP_NAME = "sbrudergit";
@ -66,6 +65,11 @@ in
LEVEL = "Warn";
};
};
secrets = {
mailer = {
PASSWD = config.sops.secrets.forgejo-mail.path;
};
};
};
networking.firewall.allowedTCPPorts = [ cfg.settings.server.SSH_PORT ];