nixos-config/hosts/chunk/forgejo.nix

30 lines
614 B
Nix
Raw Normal View History

2025-01-10 01:27:05 -05:00
{...}:
{
services.forgejo = {
enable = true;
user = "git";
group = "git";
settings = {
server = {
ROOT_URL = "https://git.cy7.sh";
HTTP_PORT = 3000;
HTTP_ADDR = "127.0.0.1";
DOMAIN = "git.cy7.sh";
};
session.COOKIE_SECURE = true;
service.DISABLE_REGISTRATION = true;
ui = {
AMBIGUOUS_UNICODE_DETECTION = false;
DEFAULT_THEME = "gitea-dark";
};
2025-01-10 01:43:19 -05:00
actions.ENABLED = false;
2025-01-10 01:27:05 -05:00
};
database = {
type = "postgres";
socket = "/run/postgresql";
user = "git";
name = "git";
};
};
}