From b604cee52a4f052fb8f5ebcdb4f7cb482527f690 Mon Sep 17 00:00:00 2001 From: schweby Date: Wed, 24 Mar 2021 21:13:26 +0100 Subject: [PATCH] hainich/minecraft: Update to paper 1.16.6-167 --- hosts/hainich/services/minecraft.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/hosts/hainich/services/minecraft.nix b/hosts/hainich/services/minecraft.nix index 2e2c712..8151b4f 100644 --- a/hosts/hainich/services/minecraft.nix +++ b/hosts/hainich/services/minecraft.nix @@ -4,6 +4,18 @@ networking.firewall.allowedTCPPorts = [ 25565 ]; services.minecraft-server = { enable = true; + package = let + version = "16.5-567"; + url = "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/567/downloads/paper-1.16.5-567.jar"; + sha256 = "0193fgxabyzhvidf05lswpgajkq4a0c4n0hcpigqhhsir949yaia"; + in (pkgs.minecraft-server.overrideAttrs (old: rec { + name = "minecraft-server-${version}"; + inherit version; + src = pkgs.fetchurl { + inherit url sha256; + }; + })); + eula = true; declarative = true; jvmOpts = "-Xmx1536M -Xms512M"; @@ -33,17 +45,5 @@ Zauberberg = "4c59c4c3-f16b-4b7e-b707-9a176958e7cf"; }; - package = let - version = "16.5-562"; - url = "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/562/downloads/paper-1.16.5-562.jar"; - sha256 = "6c9110cb096cf8015382c112c1cfaf61093fd41c807410b0f744bee5317a05fd"; - in (pkgs.minecraft-server.overrideAttrs (old: rec { - name = "minecraft-server-${version}"; - inherit version; - - src = pkgs.fetchurl { - inherit url sha256; - }; - })); }; }