2023-05-15 03:49:48 -04:00
|
|
|
{pkgs, ...}: {
|
|
|
|
services.gitea = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.forgejo;
|
2023-05-15 23:56:12 -04:00
|
|
|
appName = "forgejo";
|
|
|
|
stateDir = "/sakura/forgejo";
|
2023-05-15 03:49:48 -04:00
|
|
|
settings = {
|
2023-05-15 04:40:29 -04:00
|
|
|
service.DISABLE_REGISTRATION = true;
|
2023-05-15 03:49:48 -04:00
|
|
|
server = {
|
|
|
|
HTTP_PORT = 3000;
|
|
|
|
DOMAIN = "git.notohh.dev";
|
|
|
|
ROOT_URL = "https://git.notohh.dev";
|
|
|
|
LANDING_PAGE = "/explore/repos";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|