feat: add gitea

This commit is contained in:
Xavier Morel
2025-11-14 20:12:17 +01:00
parent 6e05b7d50a
commit e87843f371
5 changed files with 83 additions and 3 deletions

33
config/git-gitea.nix Normal file
View File

@@ -0,0 +1,33 @@
{
pkgs,
config,
tools,
...
}:
{
services = {
gitea = {
enable = true;
database = {
type = "postgres";
user = "git";
name = "git";
password = config.my-lxc.git.db.password;
host = tools.build_ip "db";
createDatabase = false;
};
# TODO: dump ...
settings = {
server.HTTP_PORT = 3000;
};
# user = "git";
};
# gitea-actions-runner.instances.default = {
# enable = true;
# labels = [
# "test"
# "nixos"
# ];
# };
};
}