diff --git a/nix-system-configs/modules/system/minecraft.nix b/nix-system-configs/modules/system/minecraft.nix index f75c1de..9d84be0 100644 --- a/nix-system-configs/modules/system/minecraft.nix +++ b/nix-system-configs/modules/system/minecraft.nix @@ -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. diff --git a/nix-system-configs/modules/system/traefik.nix b/nix-system-configs/modules/system/traefik.nix index 280a557..39de6dc 100644 --- a/nix-system-configs/modules/system/traefik.nix +++ b/nix-system-configs/modules/system/traefik.nix @@ -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)