Files
homelab/config/git-gitea.nix
2025-11-14 20:12:17 +01:00

34 lines
573 B
Nix

{
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"
# ];
# };
};
}