gitea: nicer settings

This commit is contained in:
Motiejus Jakštys 2023-01-03 18:39:41 +02:00
parent 226dfe5ac9
commit f82c4356eb

View File

@ -110,20 +110,27 @@ let ssh_pubkeys = {
rootUrl = "https://git.jakstys.lt"; rootUrl = "https://git.jakstys.lt";
httpAddress = "127.0.0.1"; httpAddress = "127.0.0.1";
httpPort = 3000; httpPort = 3000;
settings.admin.DISABLE_REGULAR_ORG_CREATION = true; settings = {
settings.api.ENABLE_SWAGGER = false; admin.DISABLE_REGULAR_ORG_CREATION = true;
settings.mirror.ENABLED = false; api.ENABLE_SWAGGER = false;
settings.packages.ENABLED = false; mirror.ENABLED = false;
settings.repository.DEFAULT_REPO_UNITS = "repo.code,repo.releases"; other.SHOW_FOOTER_VERSION = false;
settings.repository.DISABLE_STARS = true; packages.ENABLED = false;
settings.repository.ENABLE_PUSH_CREATE_USER = true; repository.DEFAULT_REPO_UNITS = "repo.code,repo.releases";
settings.server.ENABLE_GZIP = true; repository.DISABLE_STARS = true;
settings.server.LANDING_PAGE = "/motiejus"; repository.ENABLE_PUSH_CREATE_USER = true;
settings.service.DISABLE_REGISTRATION = true; server.ENABLE_GZIP = true;
settings.service.ENABLE_TIMETRACKING = false; server.LANDING_PAGE = "/motiejus";
settings.service.ENABLE_USER_HEATMAP = false; service.DISABLE_REGISTRATION = true;
settings.service.SHOW_MILESTONES_DASHBOARD_PAGE = false; service.ENABLE_TIMETRACKING = false;
settings.service.explore.REQUIRE_SIGNIN_VIEW = true; service.ENABLE_USER_HEATMAP = false;
service.SHOW_MILESTONES_DASHBOARD_PAGE = false;
};
#service.explore.REQUIRE_SIGNIN_VIEW = true; does not work as of writing
extraConfig = ''
[service.explore]
REQUIRE_SIGNIN_VIEW = true;
'';
}; };
users.users.git = { users.users.git = {
description = "Gitea Service"; description = "Gitea Service";