linuxware/services/forgejo.nix

22 lines
408 B
Nix
Raw Normal View History

2024-08-19 20:33:05 -03:00
{
2024-08-19 21:08:42 -03:00
services.forgejo = {
2024-08-19 20:33:05 -03:00
enable = true;
lfs.enable = true;
settings = {
server = {
HTTP_PORT = 3788;
2024-08-21 18:48:06 -03:00
LANDING_PAGE = "explore";
2024-08-19 20:33:05 -03:00
ROOT_URL = "https://git.thewizard.link";
};
service = {
DISABLE_REGISTRATION = true;
ENABLE_REVERSE_PROXY_AUTHENTICATION = true;
ENABLE_REVERSE_PROXY_AUTHENTICATION_API = true;
};
2024-08-19 20:33:05 -03:00
};
};
}