From b5ea90a258ddb5db942584c4b1f44bf41eabe461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 27 Jul 2020 20:54:54 +0100 Subject: [PATCH] Add a volume to contain the minecraft world files --- etc/nixos/services/minecraft.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/nixos/services/minecraft.nix b/etc/nixos/services/minecraft.nix index 9f6e99b..84aac7e 100644 --- a/etc/nixos/services/minecraft.nix +++ b/etc/nixos/services/minecraft.nix @@ -121,6 +121,7 @@ in "25565:25565" ]; volumes = [ + "minecraft:/var/lib/minecraft/world" "${ops}:/var/lib/minecraft/ops.json:ro" "${whitelist}:/var/lib/minecraft/whitelist.json:ro" ];