mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +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";
|
url = "https://cdn.modrinth.com/data/ZHKrK8Rp/versions/yqaOm9Fj/fastback-0.30.0%2B1.21.11-fabric.jar";
|
||||||
sha512 = "2e000940838b79990818e5e9e97fd4326285f516c3bd761b0d8d6d560bc3a289d9b409b49b0adda0a7013da029ccdd5eef2c5299f98fcf891c1c2ea19bcaf639";
|
sha512 = "2e000940838b79990818e5e9e97fd4326285f516c3bd761b0d8d6d560bc3a289d9b409b49b0adda0a7013da029ccdd5eef2c5299f98fcf891c1c2ea19bcaf639";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
@ -299,7 +297,18 @@ in {
|
||||||
|
|
||||||
# For FastBackup force etc to have PATH
|
# For FastBackup force etc to have PATH
|
||||||
systemd.services."minecraft-server-fabric-modded".environment = {
|
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.
|
# The nix-minecraft module creates the `minecraft` user/group automatically.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue