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