fix import err
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 32s

This commit is contained in:
Satria 2026-06-14 08:50:45 +07:00
commit d99b01efd2

View file

@ -9,7 +9,6 @@
packHash = "sha256-J3KdjRer1d8jOeO84rET05nFdjCXjgz5A7mJysFwu6Q="; packHash = "sha256-J3KdjRer1d8jOeO84rET05nFdjCXjgz5A7mJysFwu6Q=";
url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml"; url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml";
}; };
inherit (inputs.nix-minecraft.lib) collectFilesAt;
in { in {
imports = [ inputs.mc.nixosModules.minecraft-servers ]; imports = [ inputs.mc.nixosModules.minecraft-servers ];
nixpkgs.overlays = [ inputs.mc.overlay ]; nixpkgs.overlays = [ inputs.mc.overlay ];
@ -73,7 +72,7 @@ in {
"rcon.port" = 25575; "rcon.port" = 25575;
}; };
symlinks = collectFilesAt modpack "mods" // { symlinks = inputs.mc.lib.collectFilesAt modpack "mods" // {
"polymer/packsquash" = let "polymer/packsquash" = let
packsquash-binary = pkgs.runCommand "packsquash" { packsquash-binary = pkgs.runCommand "packsquash" {
src = pkgs.fetchurl { src = pkgs.fetchurl {