feat: mincraft server (trust me 3)

This commit is contained in:
s-prechtl 2025-03-29 20:18:44 +01:00
parent 642c18a7b6
commit bf44c44739

View file

@ -22,6 +22,7 @@ in {
vim
wget
git
temurin-bin-17
];
services.openssh = {
@ -46,6 +47,7 @@ in {
enable = true;
jvmMaxAllocation = "12G";
jvmInitialAllocation = "2G";
jvmPackage = pkgs.temurin-bin-17;
jvmOpts = concatStringsSep " " [
"-XX:+UseG1GC"
"-XX:+ParallelRefProcEnabled"
@ -67,6 +69,10 @@ in {
"-XX:MaxTenuringThreshold=1"
];
rsyncSSHKeys = [
"leck-eier"
];
serverConfig = {
server-port = 25566;
motd = "SIB24 Aged Server";