From 4829f2e11e5ddbd6c4b3f0aa3be9d84d81b2712d Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 4 Dec 2023 12:43:57 +0100 Subject: [PATCH] feat(forgejo): Allow all emails for registration (for now) --- machines/storage01/forgejo.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/machines/storage01/forgejo.nix b/machines/storage01/forgejo.nix index 5e37c50..2e4d224 100644 --- a/machines/storage01/forgejo.nix +++ b/machines/storage01/forgejo.nix @@ -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;