1
0
Fork 0

gitea: enable emails (and password recovery)

This commit is contained in:
Sebastien Bourdeauducq 2019-11-25 21:58:49 +08:00
parent 7d7813555d
commit d88137f8b7
2 changed files with 8 additions and 0 deletions

View File

@ -333,8 +333,15 @@ ACTION=="add", SUBSYSTEM=="tty", \
appName = "M-Labs Git";
cookieSecure = true;
disableRegistration = true;
mailerPasswordFile = "/etc/nixos/secret/mailerpassword";
extraConfig =
''
[mailer]
ENABLED = true
HOST = ssl.serverraum.org:587
FROM = sysop@m-labs.hk
USER = sysop@m-labs.hk
[attachment]
ALLOWED_TYPES = */*
'';

View File

@ -1,6 +1,7 @@
-rw------- 1 root root backup-passphrase
-rw------- 1 root root email_accounts.nix
-rw------- 1 homu homu homu.toml
-rw-rw---- 1 gitea gitea mailerpassword
-rw------- 1 matterbridge matterbridge matterbridge.toml
-rw------- 1 uwsgi uwsgi mattermost-github-integration.py
-rw------- 1 nginx nginx muninpasswd