feat(forgejo): Allow all emails for registration (for now)

This commit is contained in:
Tom Hubrecht 2023-12-04 12:43:57 +01:00
parent b338eeed6a
commit 4829f2e11e

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
let
port = 3000;
@ -30,7 +30,7 @@ in {
};
service = {
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu";
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu,*";
DISABLE_REGISTRATION = false;
};
@ -54,19 +54,8 @@ in {
USER = "web-services@infra.dgnum.eu";
};
};
# Dump configuration
# dump = {
# enable = false;
# type = "tar.xz";
# file = "gitea.bk";
# };
# mailerPasswordFile = config.age.secrets."_ht-mail.pwd".path;
};
postgresql.enable = true;
nginx = {
enable = true;