[mc-clj] Use pkgs with repl plugin
This commit is contained in:
parent
03099bf1f7
commit
323211c3b2
@ -232,7 +232,7 @@ in {
|
|||||||
flags = commonFlags ++ memFlags
|
flags = commonFlags ++ memFlags
|
||||||
++ (optionals (worldOpts.allocated-memory >= 12) highMemFlags);
|
++ (optionals (worldOpts.allocated-memory >= 12) highMemFlags);
|
||||||
flagStr = concatStringsSep " " flags;
|
flagStr = concatStringsSep " " flags;
|
||||||
in "${pkgs.papermc}/bin/minecraft-server ${flagStr}";
|
in "${papermcWithPlugins}/bin/minecraft-server ${flagStr}";
|
||||||
|
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
@ -242,7 +242,7 @@ in {
|
|||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
ProtectControlGroups = true;
|
ProtectControlGroups = true;
|
||||||
ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
ProtectKernalTunables = true;
|
ProtectKernelTunables = true;
|
||||||
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
|
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictNamespaces = true;
|
RestrictNamespaces = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user