feat(service): add gitea

This commit is contained in:
2026-03-07 12:26:59 +01:00
parent 87572452cd
commit 3cdfc92254
4 changed files with 22 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
./networking.nix
./services.nix
./virtualisation.nix
./services
];
networking.hostName = "bomba";

View File

@@ -6,6 +6,7 @@
allowedTCPPorts = [
22
5900
8001
];
allowedUDPPorts = [ ];
enable = true;

View File

@@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./gitea.nix
];
}

View File

@@ -0,0 +1,14 @@
{ ... }:
{
services.gitea = {
enable = true;
settings = {
server = {
DOMAIN = "gitea.patrickcanal.it";
ROOT_URL = "https://gitea.patrickcanal.it";
HTTP_PORT = 8001;
};
service.DISABLE_REGISTRATION = true;
};
};
}