Add gitea

This commit is contained in:
2023-03-21 21:28:11 +00:00
parent 6b40745b29
commit ef80e0555e
3 changed files with 26 additions and 1 deletions

18
modules/gitea/default.nix Normal file
View File

@@ -0,0 +1,18 @@
{ 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;
};
};
};
}