From be6a838ea82aa2da36a9f8aa1f7dacd6fc2885b8 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" ];