Added gitea to home server

This commit is contained in:
2025-10-23 10:24:47 +01:00
parent 6b3d4ec846
commit d75432c065
2 changed files with 36 additions and 0 deletions

View File

@@ -25,5 +25,6 @@
./containers/caddy.nix
./containers/work_tools.nix
./containers/nextcloud.nix
./containers/gitea.nix
];
}

View File

@@ -0,0 +1,35 @@
{
inputs,
outputs,
lib,
config,
pkgs,
unstablePkgs,
...
}: {
services.podman = {
networks = {
gitea-net = {};
};
containers = {
nextcloud = {
image = "docker.gitea.com/gitea:latest-rootless";
autoUpdate = "registry";
network = [
"gitea-net"
"proxy-net"
];
ports = [
"3000:3000"
"2222:2222"
];
volumes = [
"/home/cianh/gitea/data:/var/lib/gitea"
"/home/cianh/gitea/config:/etc/gitea"
"/etc/timezone:/etc/timezone:ro"
"/etc/localtime:/etc/localtime:ro"
];
};
};
};
}