snowflake/hosts/yuki/services/minecraft.nix

14 lines
310 B
Nix
Raw Normal View History

2023-09-16 18:54:50 -04:00
_: {
2023-06-30 16:59:27 -04:00
networking.firewall.allowedTCPPorts = [25565];
virtualisation.oci-containers.containers.minecraft = {
2023-07-26 09:07:00 -04:00
image = "als3bas/zulu-purpurmc:latest";
2023-06-30 16:59:27 -04:00
ports = ["25565:25565"];
environment = {
2023-07-09 04:20:33 -04:00
MEMORYSIZE = "10G";
2023-06-30 16:59:27 -04:00
};
volumes = [
2023-07-26 09:07:00 -04:00
"/home/notoh/docker/purpur:/data:rw"
2023-06-30 16:59:27 -04:00
];
};
}