snowflake/modules/services/forgejo.nix

18 lines
389 B
Nix
Raw Normal View History

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