summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-01-29 08:16:17 +0100
committerLinnnus <[email protected]>2025-01-29 09:42:39 +0100
commit835a904ac68a9003af02f7c0dfd817a42ecd1a35 (patch)
tree77369275036b86c648fa1ce7e67fbd3d39e62b48 /hosts
parent8ad025f59c6360c0fdcc5670e40c2855cb836c51 (diff)
on-demand-minecraft: Add data-dir option
Diffstat (limited to 'hosts')
-rw-r--r--hosts/ahmed/configuration.nix3
1 files changed, 3 insertions, 0 deletions
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"];