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 b86cc94d23

View File

@@ -1,7 +1,6 @@
{
config,
pkgs,
conf,
lib,
...
}:
{
@@ -36,6 +35,18 @@
USER = FROM;
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
conf.network.addresses.domain.chutiya
];
};
oauth2_client.REGISTER_MAIL_CONFIRM = true;
actions.ENABLED = false;
};