machines: porthos: services: set-up gitea mail
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2022-04-08 20:54:39 +02:00
parent 9b0cc37502
commit cb068a42e9

View file

@ -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;