snowflake/hosts/sakura/services/forgejo.nix
2023-06-11 07:48:54 -04:00

21 lines
491 B
Nix

{pkgs, ...}: {
services.gitea = {
enable = true;
package = pkgs.forgejo;
appName = "forgejo";
stateDir = "/sakura/forgejo";
settings = {
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "https://gitea.com";
};
service.DISABLE_REGISTRATION = true;
server = {
HTTP_PORT = 3200;
DOMAIN = "git.notohh.dev";
ROOT_URL = "https://git.notohh.dev";
LANDING_PAGE = "/explore/repos";
};
};
};
}