Files
nixcfg/modules/gitea/default.nix
2023-03-21 21:29:34 +00:00

19 lines
366 B
Nix

{ config, pkgs, ... }:
{
services.gitea = {
enable = true;
appName = "The Broccoli Patch"; # Give the site a name
database = {
type = "sqlite3";
};
httpPort = 3030;
domain = "git.broccoli.town";
rootUrl = "https://git.broccoli.town/";
settings = {
service = {
DISABLE_REGISTRATION = true;
};
};
};
}