about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-15 18:45:25 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-15 18:45:25 -0800
commit890fa06754555946560d7d3947ccab052d64ce7f (patch)
treeb7793c351f4370b0280fa202df9f4c6161686667 /modules
parentbuild: update flake for x509-info (diff)
downloadworld-890fa06754555946560d7d3947ccab052d64ce7f.tar.gz
fix(modules/gitea): add a few more settings
Diffstat (limited to 'modules')
-rw-r--r--modules/services/gitea/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix
index d425019..5efff43 100644
--- a/modules/services/gitea/default.nix
+++ b/modules/services/gitea/default.nix
@@ -38,9 +38,13 @@ 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;
+        repository.ENABLE_PUSH_CREATE_USER = true;
+        repository.DEFAULT_BRANCH = "main";
+        server.DISABLE_SSH = true;
       };
       dump.enable = false;
       database = {