hosts/suwako: prevent spam on gitea

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-11-11 22:36:36 +05:30
parent 95825c6ff1
commit 306823c77e

View File

@@ -1,7 +1,6 @@
{ {
config,
pkgs,
conf, conf,
lib,
... ...
}: }:
{ {
@@ -36,6 +35,18 @@
USER = FROM; USER = FROM;
REGISTER_MAIL_CONFIRM = true; REGISTER_MAIL_CONFIRM = true;
}; };
service = {
ENABLE_CAPTCHA = true;
EMAIL_DOMAIN_ALLOWLIST = lib.strings.concatStringsSep "," [
"gmail.com"
"outlook.com"
"proton.me"
"protonmail.com"
conf.network.addresses.domain.natto
conf.network.addresses.domain.amneesh
"chutiya.online"
];
};
oauth2_client.REGISTER_MAIL_CONFIRM = true; oauth2_client.REGISTER_MAIL_CONFIRM = true;
actions.ENABLED = false; actions.ENABLED = false;
}; };