dotfiles.nix/nixos/lavender/containers/gitea.nix

18 lines
295 B
Nix
Raw Normal View History

2023-05-16 22:01:26 +08:00
{ ... }:
{
# Gitea
virtualisation.oci-containers.containers."gitea" = {
autoStart = true;
image = "gitea/gitea:latest";
volumes = [
"/srv/containers/gitea:/data"
2023-05-16 22:01:26 +08:00
"/etc/localtime:/etc/localtime:ro"
];
ports = [
"4000:3000"
"2221:22"
];
};
}