From 835a904ac68a9003af02f7c0dfd817a42ecd1a35 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 29 Jan 2025 08:16:17 +0100 Subject: on-demand-minecraft: Add data-dir option --- hosts/ahmed/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hosts/ahmed') diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 222b77c..25be8d0 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -67,6 +67,9 @@ # Seed requested by Tobias. server-properties."level-seed" = "1727502807"; + + # I changed the default location after creating the world. + data-dir = "/srv/minecrafter/papermc-1.21.4-15"; }; services.cloudflare-dyndns.domains = ["minecraft.linus.onl"]; -- cgit v1.2.3