From 86f7cc4bfc461d421c1427259adea17ca43fbf2e Mon Sep 17 00:00:00 2001 From: Lyes Saadi Date: Sun, 14 Dec 2025 02:50:32 +0100 Subject: [PATCH] Adding registration --- modules/server/biggoron/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/server/biggoron/default.nix b/modules/server/biggoron/default.nix index 4fd5842..a2ae503 100644 --- a/modules/server/biggoron/default.nix +++ b/modules/server/biggoron/default.nix @@ -50,7 +50,7 @@ in }; # You can temporarily allow registration to create an admin user. - service.DISABLE_REGISTRATION = true; + service.DISABLE_REGISTRATION = false; # Add support for actions, based on act: https://github.com/nektos/act actions = { @@ -68,10 +68,10 @@ in SENDMAIL_PATH = "${config.security.wrapperDir}/sendmail"; }; - # oauth2_client = { - # REGISTER_EMAIL_CONFIRM = true; - # USERNAME = ; - # }; + oauth2_client = { + ENABLE_AUTO_REGISTRATION = true; + ACCOUNT_LINKING = "login"; + }; }; # secrets = {