feat(vps): add forgejo

This commit is contained in:
lightly-toasted 2025-10-03 23:58:53 +09:00
parent 78ef47c410
commit b394df67f4
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{
services.forgejo = {
enable = true;
settings = {
server = {
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3001;
DOMAIN = "git.toast.name";
ROOT_URL = "https://git.toast.name/";
LANDING_PAGE = "explore";
};
service.DISABLE_REGISTRATION = true;
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
};
};
}