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 = {