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

23 lines
376 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";
};
};
};
}