forgejo config update

This commit is contained in:
boyreau 2026-09-26 20:54:28 +02:00
commit bd9957003c

View file

@ -1,8 +1,39 @@
{ {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
settings.server.HTTP_PORT = 8888; settings = {
settings.server.DISABLE_SSH = true; server = {
settings.server.ROOT_URL = "https://zospace.freeboxos.fr/forgejo"; HTTP_PORT = 8888;
DISABLE_SSH = true;
ROOT_URL = "https://zospace.freeboxos.fr/forgejo";
};
service = {
DISABLE_REGISTRATION = true;
};
repository = {
DEFAULT_PUSH_CREATE_PRIVATE = false;
DISABLE_HTTP_GIT = true;
DISABLED_REPO_UNITS = "repo.releases,repo.wiki,repo.actions";
ENABLE_PUSH_CREATE_USER = true;
ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT = false;
};
ui = {
SHOW_USER_EMAIL = false;
meta = ''
AUTHOR="Forgeato - beyond forging. We potato.";
DESCRIPTION="Potato. Refined.";
KEYWORDS="git,forge,forgejo,potato";
'';
};
cors = {
ENABLED = true;
ALLOW_DOMAIN = "https://zospace.freeboxos.fr";
};
};
}; };
} }