snowflake/hosts/yuki/services/minecraft.nix

14 lines
326 B
Nix
Raw Normal View History

2023-06-30 16:59:27 -04:00
{...}: {
networking.firewall.allowedTCPPorts = [25565];
virtualisation.oci-containers.containers.minecraft = {
image = "marctv/minecraft-papermc-server:latest";
ports = ["25565:25565"];
environment = {
2023-07-09 04:20:33 -04:00
MEMORYSIZE = "10G";
2023-06-30 16:59:27 -04:00
};
volumes = [
"/home/notoh/docker/mcserver:/data:rw"
];
};
}