Setup Forgejo service + Migrate git configurations

This commit is contained in:
♥ Minnie ♥ 2024-06-03 21:05:04 +08:00
parent 115e2849cd
commit 9f8378df75
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
5 changed files with 40 additions and 5 deletions

View file

@ -0,0 +1,20 @@
{ ... }:
{
services.forgejo = {
enable = true;
stateDir = "/srv/services/forgejo";
settings = {
server = {
DOMAIN = "git.sajenim.dev";
ROOT_URL = "https://git.sajenim.dev";
HTTP_PORT = 3131;
LANDING_PAGE = "/jasmine";
};
service = {
DISABLE_REGISTRATION = true;
};
log.LEVEL = "Info";
};
};
}