2023-05-28 22:00:50 -04:00
|
|
|
{pkgs, ...}: {
|
|
|
|
services.gitea = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.forgejo;
|
|
|
|
appName = "forgejo";
|
|
|
|
stateDir = "/sakura/forgejo";
|
|
|
|
settings = {
|
2023-06-06 00:09:09 -04:00
|
|
|
actions = {
|
|
|
|
ENABLED = true;
|
|
|
|
DEFAULT_ACTIONS_URL = "https://gitea.com";
|
|
|
|
};
|
2023-05-28 22:00:50 -04:00
|
|
|
service.DISABLE_REGISTRATION = true;
|
|
|
|
server = {
|
2023-06-11 07:48:54 -04:00
|
|
|
HTTP_PORT = 3200;
|
2023-05-28 22:00:50 -04:00
|
|
|
DOMAIN = "git.notohh.dev";
|
|
|
|
ROOT_URL = "https://git.notohh.dev";
|
|
|
|
LANDING_PAGE = "/explore/repos";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|