snowflake/hosts/sakura/services/forgejo.nix

18 lines
389 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 = {
service.DISABLE_REGISTRATION = true;
server = {
HTTP_PORT = 3000;
DOMAIN = "git.notohh.dev";
ROOT_URL = "https://git.notohh.dev";
LANDING_PAGE = "/explore/repos";
};
};
};
}