mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Update Minecraft configuration to set PATH for FastBackup service
This commit is contained in:
parent
a4c0e6cfac
commit
a2e8787ad6
1 changed files with 5 additions and 2 deletions
|
|
@ -75,8 +75,6 @@ in {
|
|||
loaderVersion = "0.18.4";
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [ git git-lfs ];
|
||||
|
||||
jvmOpts = lib.concatStringsSep " " [
|
||||
"-Xms54G"
|
||||
# Use 120GB of RA
|
||||
|
|
@ -299,6 +297,11 @@ 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";
|
||||
};
|
||||
|
||||
# The nix-minecraft module creates the `minecraft` user/group automatically.
|
||||
users.users.minecraftprg.extraGroups = ["minecraft"];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue