aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-15 18:52:48 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-15 18:52:48 -0800
commit593828913d520627213b8eb2a0461036885f6c29 (patch)
tree02dcb3747f32be5d7e9b54187f19ca94d07eb097
parentfix(modules/gitea): add a few more settings (diff)
downloadinfra-593828913d520627213b8eb2a0461036885f6c29.tar.gz
fix(modules/gitea): next time I'll learn to read the documentation
-rw-r--r--modules/services/gitea/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix
index 5efff43..8ae02ae 100644
--- a/modules/services/gitea/default.nix
+++ b/modules/services/gitea/default.nix
@@ -35,16 +35,15 @@ in
rootUrl = "https://git.fcuny.net/";
httpAddress = "127.0.0.1";
httpPort = 8002;
+ ssh.enable = false;
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 = {