Compare commits

1 Commits
main ... gitea

Author SHA1 Message Date
0cf0fc96ac Add gitea 2023-03-19 23:45:36 +00:00
2 changed files with 16 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
pingbox = { pingbox = {
imports = [ imports = [
./postgres ./postgres
./gitea
]; ];
}; };
} }

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;
};
};
};
}