mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-26 04:33:54 +01:00
23 lines
383 B
Nix
23 lines
383 B
Nix
{
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
services.forgejo = {
|
|
enable = true;
|
|
settings.server = {
|
|
HTTP_PORT = 3002;
|
|
ROOT_URL = "https://git.heroin.trade";
|
|
};
|
|
settings = {
|
|
service = {
|
|
DISABLE_REGISTRATION = true;
|
|
REQUIRE_SIGNIN_VIEW = true;
|
|
};
|
|
DEFAULT = {
|
|
APP_NAME = "Git so good it could be heroin";
|
|
};
|
|
};
|
|
};
|
|
}
|