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
|
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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue