nixos-config/hosts/x86_64-linux/beleth/git.nix

20 lines
303 B
Nix
Raw Normal View History

2024-05-16 19:00:47 +02:00
{
2024-06-09 20:48:07 +02:00
lib,
inputs,
...
}: {
2024-05-16 19:00:47 +02:00
services.forgejo = {
enable = true;
2024-05-16 19:06:02 +02:00
settings.server = {
2024-05-16 19:08:16 +02:00
HTTP_PORT = 3002;
2024-05-16 19:15:20 +02:00
ROOT_URL = "https://git.heroin.trade";
2024-05-16 19:06:02 +02:00
};
2024-05-16 19:22:28 +02:00
settings = {
service = {
2024-06-09 20:48:07 +02:00
DISABLE_REGISTRATION = true;
REQUIRE_SIGNIN_VIEW = true;
2024-05-16 19:22:28 +02:00
};
};
2024-05-16 19:00:47 +02:00
};
}