24 lines
589 B
Nix
24 lines
589 B
Nix
{
|
|
services.forgejo = {
|
|
enable = true;
|
|
settings = {
|
|
DEFAULT = {
|
|
APP_NAME = "Forgejo: Beyond coding. We Forge."; # TODO
|
|
};
|
|
server = {
|
|
# USE_PROXY_PROTOCOL = true;
|
|
DOMAIN = "git.chandlerswift.com";
|
|
#SSH_DOMAIN = "git.chandlerswift.com";
|
|
ROOT_URL = "https://git.chandlerswift.com/";
|
|
HTTP_PORT = 3001;
|
|
LANDING_PAGE = "/chandlerswift";
|
|
};
|
|
repository = {
|
|
ENABLE_PUSH_CREATE_USER = true;
|
|
ENABLE_PUSH_CREATE_ORG = true;
|
|
};
|
|
service.DISABLE_REGISTRATION = true;
|
|
};
|
|
};
|
|
}
|