machines: porthos: services: set-up gitea mail

This commit is contained in:
Bruno BELANYI 2022-04-08 20:54:39 +02:00
parent a9e004f7c1
commit 676281d18b

View file

@ -1,5 +1,5 @@
# Deployed services # Deployed services
{ config, ... }: { config, lib, ... }:
let let
secrets = config.age.secrets; secrets = config.age.secrets;
in in
@ -39,7 +39,15 @@ in
enable = true; enable = true;
}; };
# Gitea forge # 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 # Meta-indexers
indexers = { indexers = {
prowlarr.enable = true; prowlarr.enable = true;