about summary refs log tree commit diff
path: root/users/sterni/modules/minecraft-fabric.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/modules/minecraft-fabric.nix')
-rw-r--r--users/sterni/modules/minecraft-fabric.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/users/sterni/modules/minecraft-fabric.nix b/users/sterni/modules/minecraft-fabric.nix
index b8556ec3eb20..c599d6c04282 100644
--- a/users/sterni/modules/minecraft-fabric.nix
+++ b/users/sterni/modules/minecraft-fabric.nix
@@ -23,7 +23,7 @@
 #   * Op levels
 #
 # SPDX-License-Identifier: MIT
-# SPDX-FileCopyrightText: 2022 sterni <sternenseemann@systemli.org>
+# SPDX-FileCopyrightText: 2022-2023 sterni <sternenseemann@systemli.org>
 
 { lib, pkgs, config, depot, ... }:
 
@@ -98,6 +98,15 @@ let
         "-Dlog4j2.formatMsgNoLookups=true"
       ];
     };
+    "1.18" = fetchJar {
+      pname = "server";
+      version = "1.18";
+      url = "https://launcher.mojang.com/v1/objects/3cf24a8694aca6267883b17d934efacc5e44440d/server.jar";
+      sha256 = "0vvycjcfq96z7cl5dsrq98k9b7j7l4x0y9nflrcqmcvink7fs5w4";
+      passthru.baseJvmOpts = [
+        "-Dlog4j2.formatMsgNoLookups=true"
+      ];
+    };
   };
 
   #