Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xgroleau committed Sep 20, 2024
1 parent e7cf0ff commit f2f642c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions modules/minecraft/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ in
servers."${cfg.name}" = {
enable = true;
autoStart = true;
# # enableReload = true;
restart = "always";
openFirewall = cfg.openFirewall;
package = pkgs.vanillaServers.vanilla-1_21;
package = pkgs.fabric-1_18_2.override { loaderVersion = "0.15.11"; };

serverProperties = {
enable-command-block = true;
Expand All @@ -71,16 +70,16 @@ in
server-port = cfg.port;
white-list = false;
};
# symlinks = {
# mods = pkgs.linkFarmFromDrvs "mods" (
# builtins.attrValues {
# vicPointBlank = pkgs.fetchurl {
# url = "https://cdn.modrinth.com/data/og4KPYmA/versions/HiwllvyQ/pointblank-fabric-1.21-1.6.7.jar";
# sha512 = "d02b4e037c2a5863978f2a7535c920b3fe39fcb6b7603c1c23e0597daad41ab038c014aa02d0414aa4c2b1a67d237c575458d70adee89cc0e2b8f8967e3d8efd";
# };
# }
# );
# };
symlinks = {
mods = pkgs.linkFarmFromDrvs "mods" (
builtins.attrValues {
vicPointBlank = pkgs.fetchurl {
url = "https://cdn.modrinth.com/data/og4KPYmA/versions/HiwllvyQ/pointblank-fabric-1.21-1.6.7.jar";
sha512 = "d02b4e037c2a5863978f2a7535c920b3fe39fcb6b7603c1c23e0597daad41ab038c014aa02d0414aa4c2b1a67d237c575458d70adee89cc0e2b8f8967e3d8efd";
};
}
);
};
};

};
Expand Down

0 comments on commit f2f642c

Please sign in to comment.