snowflake/hosts/yuki/services/minecraft.nix
notohh 76285ef21d
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
yuki: reenable minecraft, add more ram
2023-07-09 04:20:33 -04:00

14 lines
326 B
Nix

{...}: {
networking.firewall.allowedTCPPorts = [25565];
virtualisation.oci-containers.containers.minecraft = {
image = "marctv/minecraft-papermc-server:latest";
ports = ["25565:25565"];
environment = {
MEMORYSIZE = "10G";
};
volumes = [
"/home/notoh/docker/mcserver:/data:rw"
];
};
}