27 lines
482 B
Nix
27 lines
482 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.gitea = {
|
|
enable = true;
|
|
appName = "The Broccoli Patch"; # Give the site a name
|
|
database = {
|
|
type = "sqlite3";
|
|
};
|
|
settings = {
|
|
server = {
|
|
ROOT_URL = "https://git.broccoli.town/";
|
|
HTTP_PORT = 3030;
|
|
DOMAIN = "git.broccoli.town";
|
|
};
|
|
service = {
|
|
DISABLE_REGISTRATION = true;
|
|
};
|
|
repository = {
|
|
ENABLE_PUSH_CREATE_USER = true;
|
|
};
|
|
};
|
|
};
|
|
}
|