Update Minecraft server package version to neoforge-1_21_1-21_1_224 and add flake input update step

This commit is contained in:
Root User 2026-04-06 14:19:04 +03:00
parent 91783bb8d9
commit ab3177ddca
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 10 additions and 1 deletions

View file

@ -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)"

View file

@ -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"