feat: mincraft server (trust me 3)
This commit is contained in:
parent
642c18a7b6
commit
bf44c44739
1 changed files with 6 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue