mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +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
|
exit 1
|
||||||
fi
|
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
|
# Step 4: Rebuild system using local flake
|
||||||
# Compute repository root (three levels up from this script: .../nix-system-configs/modules/scripts -> repo root)
|
# Compute repository root (three levels up from this script: .../nix-system-configs/modules/scripts -> repo root)
|
||||||
FLAKE_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
|
FLAKE_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ in {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
restart = "always";
|
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 " " [
|
jvmOpts = lib.concatStringsSep " " [
|
||||||
"-Xms18G"
|
"-Xms18G"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue