mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
33 lines
537 B
Nix
33 lines
537 B
Nix
{
|
|
inputs,
|
|
outputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
unstablePkgs,
|
|
...
|
|
}: {
|
|
services.podman = {
|
|
networks = {
|
|
gitea-net = {};
|
|
};
|
|
containers = {
|
|
gitea = {
|
|
image = "docker.gitea.com/gitea:latest";
|
|
autoUpdate = "registry";
|
|
network = [
|
|
"gitea-net"
|
|
"proxy-net"
|
|
];
|
|
environment = {
|
|
TZ = "Europe/Dublin";
|
|
};
|
|
volumes = [
|
|
"/home/cianh/gitea:/data"
|
|
"/etc/localtime:/etc/localtime:ro"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|