diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-15 18:45:25 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-15 18:45:25 -0800 |
commit | 890fa06754555946560d7d3947ccab052d64ce7f (patch) | |
tree | b7793c351f4370b0280fa202df9f4c6161686667 /modules | |
parent | build: update flake for x509-info (diff) | |
download | world-890fa06754555946560d7d3947ccab052d64ce7f.tar.gz |
fix(modules/gitea): add a few more settings
Diffstat (limited to '')
-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 = { |