From ab3177ddca10e37061dc34b738c52f3b7ed7c9cb Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Mon, 6 Apr 2026 14:19:04 +0300 Subject: [PATCH] Update Minecraft server package version to neoforge-1_21_1-21_1_224 and add flake input update step --- nix-system-configs/modules/scripts/pull.zsh | 9 +++++++++ nix-system-configs/modules/system/minecraft.nix | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nix-system-configs/modules/scripts/pull.zsh b/nix-system-configs/modules/scripts/pull.zsh index 42554bf..72f5051 100755 --- a/nix-system-configs/modules/scripts/pull.zsh +++ b/nix-system-configs/modules/scripts/pull.zsh @@ -198,6 +198,15 @@ else exit 1 fi +# Step 3.1: Update the flake inputs, always +print_info "Updating flake inputs..." +if nix flake update; then + print_success "Flake inputs updated" +else + print_error "Failed to update flake inputs" + exit 1 +fi + # Step 4: Rebuild system using local flake # Compute repository root (three levels up from this script: .../nix-system-configs/modules/scripts -> repo root) FLAKE_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)" diff --git a/nix-system-configs/modules/system/minecraft.nix b/nix-system-configs/modules/system/minecraft.nix index 8e26e85..3ac12f0 100644 --- a/nix-system-configs/modules/system/minecraft.nix +++ b/nix-system-configs/modules/system/minecraft.nix @@ -75,7 +75,7 @@ in { autoStart = true; restart = "always"; - package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_222; + package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_224; jvmOpts = lib.concatStringsSep " " [ "-Xms18G"