Files
nixconf/hosts/nixcloud/services.d/git.nix
T
2026-07-06 01:19:30 -06:00

24 lines
420 B
Nix

{ config, lib, pkgs, ... }:
{
services.gitea = {
enable = true;
captcha = {
enable = true;
};
database = {
type = "postgres";
};
settings = {
server = {
DISABLE_REGISTRATION = false;
DOMAIN = "git.k3t.dev";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 34951;
ROOT_URL = "https://git.k3t.dev/";
SSH_PORT = 34952;
};
};
};
}