about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/services/gitea/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix
index 5c44588..d425019 100644
--- a/modules/services/gitea/default.nix
+++ b/modules/services/gitea/default.nix
@@ -29,6 +29,7 @@ in
     services.gitea = {
       enable = true;
       user = "git";
+      disableRegistration = true;
       domain = "git.fcuny.net";
       appName = "git.fcuny.net";
       rootUrl = "https://git.fcuny.net/";
@@ -37,7 +38,6 @@ in
       log.level = "Error";
       settings = {
         service.ENABLE_USER_HEATMAP = false;
-        service.DISABLE_REGISTRATION = true;
         other.SHOW_FOOTER_VERSION = false;
         metrics.ENABLED = true;
         metrics.ENABLED_ISSUE_BY_REPOSITORY = true;