diff --git a/machines/renge/services/forgejo.nix b/machines/renge/services/forgejo.nix index 8bb49c0..e542e34 100644 --- a/machines/renge/services/forgejo.nix +++ b/machines/renge/services/forgejo.nix @@ -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 ];