From bf44c447390b70d99583f4a9af83f3aaf0466428 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sat, 29 Mar 2025 20:18:44 +0100 Subject: [PATCH] feat: mincraft server (trust me 3) --- hosts/hitsugibune/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hitsugibune/configuration.nix b/hosts/hitsugibune/configuration.nix index a81efe7..346af85 100644 --- a/hosts/hitsugibune/configuration.nix +++ b/hosts/hitsugibune/configuration.nix @@ -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";