[mc-clj] Use pkgs with repl plugin

This commit is contained in:
niten 2022-09-06 13:49:27 -07:00
parent 03099bf1f7
commit 323211c3b2
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ in {
flags = commonFlags ++ memFlags
++ (optionals (worldOpts.allocated-memory >= 12) highMemFlags);
flagStr = concatStringsSep " " flags;
in "${pkgs.papermc}/bin/minecraft-server ${flagStr}";
in "${papermcWithPlugins}/bin/minecraft-server ${flagStr}";
Restart = "always";
NoNewPrivileges = true;
@ -242,7 +242,7 @@ in {
ProtectHome = true;
ProtectControlGroups = true;
ProtectKernelModules = true;
ProtectKernalTunables = true;
ProtectKernelTunables = true;
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
RestrictRealtime = true;
RestrictNamespaces = true;