From 890fa06754555946560d7d3947ccab052d64ce7f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 15 Nov 2022 18:45:25 -0800 Subject: fix(modules/gitea): add a few more settings --- modules/services/gitea/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 = { -- cgit 1.4.1