migrate to itzg

This commit is contained in:
♥ Minnie ♥ 2023-10-30 23:07:45 +00:00
parent 6063234389
commit a8d3b22b41

View file

@ -3,14 +3,16 @@
{ {
# Minecraft # Minecraft
virtualisation.oci-containers.containers."minecraft" = { virtualisation.oci-containers.containers."minecraft" = {
autoStart = true; image = "itzg/minecraft-server";
image = "marctv/minecraft-papermc-server:latest"; ports = [
"25565:25565"
];
volumes = [ volumes = [
"/srv/containers/minecraft:/data" "/srv/containers/minecraft:/data"
]; ];
ports = [ "25565:25565" ];
environment = { environment = {
MEMORYSIZE = "1G"; EULA = "TRUE";
}; };
autoStart = true;
}; };
} }