snowflake/hosts/sakura/services/forgejo.nix

22 lines
491 B
Nix
Raw Normal View History

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 = {
HTTP_PORT = 3000;
DOMAIN = "git.notohh.dev";
ROOT_URL = "https://git.notohh.dev";
LANDING_PAGE = "/explore/repos";
};
};
};
}