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

18 lines
284 B
Nix

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