about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-07 19:32:46 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-07 19:32:46 -0800
commit96d92e67233ef116db03b1a02577f69540b0b70e (patch)
treedb7d0dd794aafd02b8567fe6ac666c6a812fcbf8 /modules/services
parentfix(services/gitea): disable heatmap and registrations (diff)
downloadworld-96d92e67233ef116db03b1a02577f69540b0b70e.tar.gz
fix(services/gitea): disable registration correctly
Diffstat (limited to 'modules/services')
-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;