mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Another brute force to use git and git-lfs for the Minecraft's FastBackup
This commit is contained in:
parent
a2e8787ad6
commit
d62c85e272
2 changed files with 14 additions and 5 deletions
|
|
@ -289,8 +289,6 @@ in {
|
|||
url = "https://cdn.modrinth.com/data/ZHKrK8Rp/versions/yqaOm9Fj/fastback-0.30.0%2B1.21.11-fabric.jar";
|
||||
sha512 = "2e000940838b79990818e5e9e97fd4326285f516c3bd761b0d8d6d560bc3a289d9b409b49b0adda0a7013da029ccdd5eef2c5299f98fcf891c1c2ea19bcaf639";
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
@ -299,7 +297,18 @@ in {
|
|||
|
||||
# For FastBackup force etc to have PATH
|
||||
systemd.services."minecraft-server-fabric-modded".environment = {
|
||||
PATH = lib.makeBinPath [ pkgs.git pkgs.git-lfs ] + ":/run/current-system/sw/bin";
|
||||
PATH = lib.mkForce (
|
||||
lib.makeBinPath [
|
||||
pkgs.git
|
||||
pkgs.git-lfs
|
||||
pkgs.coreutils
|
||||
pkgs.findutils
|
||||
pkgs.gnugrep
|
||||
pkgs.gnused
|
||||
pkgs.systemd
|
||||
]
|
||||
+ ":/run/current-system/sw/bin"
|
||||
);
|
||||
};
|
||||
|
||||
# The nix-minecraft module creates the `minecraft` user/group automatically.
|
||||
|
|
|
|||
|
|
@ -666,7 +666,7 @@ in {
|
|||
|
||||
# TCP service for Minecraft Bedrock
|
||||
minecraft-bedrock-tcp.loadBalancer = {
|
||||
servers = [ {address = "10.1.1.244:19132";} ];
|
||||
servers = [{address = "10.1.1.244:19132";}];
|
||||
};
|
||||
|
||||
# TCP game services
|
||||
|
|
@ -730,7 +730,7 @@ in {
|
|||
|
||||
# UDP service for Minecraft Bedrock
|
||||
"minecraft-bedrock-udp".loadBalancer = {
|
||||
servers = [ {address = "10.1.1.244:19132";} ];
|
||||
servers = [{address = "10.1.1.244:19132";}];
|
||||
};
|
||||
|
||||
# UDP game services (Valheim and Xonotic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue