Files
nixcfg/modules/gitea/default.nix

20 lines
406 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;
ENABLE_PUSH_CREATE_USER = true;
};
};
};
}