diff options
-rw-r--r-- | modules/services/gitea/default.nix | 4 |
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 = { |