diff --git a/templates/etc/gitea/conf/app.ini.j2 b/templates/etc/gitea/conf/app.ini.j2 index 0af1d8a..92039a5 100644 --- a/templates/etc/gitea/conf/app.ini.j2 +++ b/templates/etc/gitea/conf/app.ini.j2 @@ -21,6 +21,9 @@ DEFAULT_PUSH_CREATE_PRIVATE = false ENABLE_PUSH_CREATE_USER = true ENABLE_PUSH_CREATE_ORG = true DEFAULT_BRANCH = main +{% if gitea_repo_default_units is defined %} +DEFAULT_REPO_UNITS = {{ gitea_repo_default_units }} +{% endif %} [server] SSH_DOMAIN = {{ gitea_basename }}