forked from DGNum/infrastructure
feat(forgejo): Allow all emails for registration (for now)
This commit is contained in:
parent
b338eeed6a
commit
4829f2e11e
1 changed files with 2 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
port = 3000;
|
port = 3000;
|
||||||
|
@ -30,7 +30,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
service = {
|
service = {
|
||||||
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu";
|
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu,*";
|
||||||
|
|
||||||
DISABLE_REGISTRATION = false;
|
DISABLE_REGISTRATION = false;
|
||||||
};
|
};
|
||||||
|
@ -54,19 +54,8 @@ in {
|
||||||
USER = "web-services@infra.dgnum.eu";
|
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 = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue