fix read only error
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 14s
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 14s
This commit is contained in:
parent
9025adc997
commit
2624881507
1 changed files with 27 additions and 29 deletions
|
|
@ -9,7 +9,7 @@
|
|||
packHash = "sha256-J3KdjRer1d8jOeO84rET05nFdjCXjgz5A7mJysFwu6Q=";
|
||||
url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml";
|
||||
};
|
||||
|
||||
inherit (inputs.nix-minecraft.lib) collectFilesAt;
|
||||
in {
|
||||
imports = [ inputs.mc.nixosModules.minecraft-servers ];
|
||||
nixpkgs.overlays = [ inputs.mc.overlay ];
|
||||
|
|
@ -73,10 +73,7 @@ in {
|
|||
"rcon.port" = 25575;
|
||||
};
|
||||
|
||||
symlinks = lib.mapAttrs'
|
||||
(name: _: lib.nameValuePair "mods/${name}" "${modpack}/mods/${name}")
|
||||
(builtins.readDir "${modpack}/mods")
|
||||
// {
|
||||
symlinks = collectFilesAt modpack "mods" // {
|
||||
"polymer/packsquash" = let
|
||||
packsquash-binary = pkgs.runCommand "packsquash" {
|
||||
src = pkgs.fetchurl {
|
||||
|
|
@ -90,7 +87,9 @@ in {
|
|||
chmod +x $out/bin/packsquash
|
||||
'';
|
||||
in "${packsquash-binary}/bin/packsquash";
|
||||
"config/proxy_protocol_support.json".value = {
|
||||
};
|
||||
|
||||
files."config/proxy_protocol_support.json".value = {
|
||||
enableProxyProtocol = true;
|
||||
whitelistTCPShieldServers = false;
|
||||
proxyServerIPs = [ "127.0.0.1" "::1" ];
|
||||
|
|
@ -100,7 +99,6 @@ in {
|
|||
"192.168.1.0/24" "10.3.14.0/24" # lan
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
package = pkgs.fabricServers.fabric-1_21_11.override {
|
||||
jre_headless = pkgs.javaPackages.compiler.temurin-bin.jdk-25;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue