forgejo config update
This commit is contained in:
parent
b6d496b874
commit
bd9957003c
1 changed files with 34 additions and 3 deletions
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue