nixos-config/linux/nebula/forgejo.nix

16 lines
355 B
Nix
Raw Permalink Normal View History

2024-08-14 11:14:20 -07:00
{config, ...}: {
2024-02-22 23:36:20 -08:00
services.forgejo = {
2023-10-09 10:44:07 -07:00
enable = true;
settings = {
2023-12-06 23:34:51 -08:00
server = with config.constants; {
DOMAIN = domain;
HTTP_ADDR = wildcard;
HTTP_PORT = port.forgejo;
ROOT_URL = "https://forgejo.${domain}";
2023-10-09 10:44:07 -07:00
};
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;
};
};
}