mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
36 lines
661 B
Nix
36 lines
661 B
Nix
{
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|