Add gitea

This commit is contained in:
2023-03-19 23:45:36 +00:00
parent e3efdcc24a
commit 0cf0fc96ac
2 changed files with 16 additions and 0 deletions

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

@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
services.gitea = {
enable = true;
appName = "My awesome Gitea server"; # Give the site a name
database = {
type = "sqlite3";
};
settings = {
service = {
DISABLE_REGISTRATION = true;
};
};
};
}