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