From 676281d18b61b7414871964e99643a3ca2986b49 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 8 Apr 2022 20:54:39 +0200 Subject: [PATCH] machines: porthos: services: set-up gitea mail --- machines/porthos/services.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/machines/porthos/services.nix b/machines/porthos/services.nix index 4f3f345..615efd5 100644 --- a/machines/porthos/services.nix +++ b/machines/porthos/services.nix @@ -1,5 +1,5 @@ # Deployed services -{ config, ... }: +{ config, lib, ... }: let secrets = config.age.secrets; in @@ -39,7 +39,15 @@ in enable = true; }; # Gitea forge - gitea.enable = true; + gitea = { + enable = true; + mail = { + enable = true; + host = "smtp.migadu.com:465"; + user = lib.my.mkMailAddress "gitea" "belanyi.fr"; + passwordFile = secrets."gitea/mail-password".path; + }; + }; # Meta-indexers indexers = { prowlarr.enable = true;