VEGAS/minecraft/0fyy6ksf: end contract

This commit is contained in:
Max Headroom 2022-11-15 18:27:38 +01:00
parent 70970765ac
commit 125ab8c3a5
2 changed files with 0 additions and 32 deletions

View file

@ -1,31 +0,0 @@
{ config, inputs, pkgs, ... }:
let
custId = "0fyy6ksf";
in
{
links."mc-${custId}" = {};
links."mc-rcon-${custId}" = {};
services.modded-minecraft-servers.instances."${custId}" = {
enable = true;
rsyncSSHKeys = [
"ssh-ed25519 dummyKey"
];
jvmPackage = inputs.self.packages.${pkgs.system}.jre17_standard;
jvmInitialAllocation = "2G";
jvmMaxAllocation = "4G";
serverConfig = {
server-port = config.links."mc-${custId}".port;
motd = "Hosted by Private Void";
enable-rcon = true;
rcon-port = config.links."mc-rcon-${custId}".port;
rcon-password = "manager";
allow-flight = true;
};
};
systemd.services."mc-${custId}".serviceConfig = {
CPUQuota = "200%";
MemoryHigh = "4.2G";
MemoryMax = "4.3G";
MemorySwapMax = "1G";
};
}

View file

@ -1,6 +1,5 @@
{ {
services.modded-minecraft-servers.eula = true; services.modded-minecraft-servers.eula = true;
imports = [ imports = [
./customer-0fyy6ksf.nix
]; ];
} }