mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Update Minecraft server package version to neoforge-1_21_1-21_1_224 and add flake input update step
This commit is contained in:
parent
91783bb8d9
commit
ab3177ddca
2 changed files with 10 additions and 1 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue