forked from M-Labs/nix-scripts
gitea: enable emails (and password recovery)
This commit is contained in:
parent
7d7813555d
commit
d88137f8b7
|
@ -333,8 +333,15 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
appName = "M-Labs Git";
|
appName = "M-Labs Git";
|
||||||
cookieSecure = true;
|
cookieSecure = true;
|
||||||
disableRegistration = true;
|
disableRegistration = true;
|
||||||
|
mailerPasswordFile = "/etc/nixos/secret/mailerpassword";
|
||||||
extraConfig =
|
extraConfig =
|
||||||
''
|
''
|
||||||
|
[mailer]
|
||||||
|
ENABLED = true
|
||||||
|
HOST = ssl.serverraum.org:587
|
||||||
|
FROM = sysop@m-labs.hk
|
||||||
|
USER = sysop@m-labs.hk
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
ALLOWED_TYPES = */*
|
ALLOWED_TYPES = */*
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
-rw------- 1 root root backup-passphrase
|
-rw------- 1 root root backup-passphrase
|
||||||
-rw------- 1 root root email_accounts.nix
|
-rw------- 1 root root email_accounts.nix
|
||||||
-rw------- 1 homu homu homu.toml
|
-rw------- 1 homu homu homu.toml
|
||||||
|
-rw-rw---- 1 gitea gitea mailerpassword
|
||||||
-rw------- 1 matterbridge matterbridge matterbridge.toml
|
-rw------- 1 matterbridge matterbridge matterbridge.toml
|
||||||
-rw------- 1 uwsgi uwsgi mattermost-github-integration.py
|
-rw------- 1 uwsgi uwsgi mattermost-github-integration.py
|
||||||
-rw------- 1 nginx nginx muninpasswd
|
-rw------- 1 nginx nginx muninpasswd
|
||||||
|
|
Loading…
Reference in New Issue