[skip ci] some formating
This commit is contained in:
parent
60926ab38d
commit
aa133738f3
1 changed files with 5 additions and 3 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
{ inputs, lib, pkgs, ... }: let
|
{ inputs, lib, pkgs, ... }: let
|
||||||
ram-allocation = "10240M";
|
ram-allocation = "10240M";
|
||||||
auth-server = "https://mc.satr14.my.id"; # TODO: self hosted drasl server
|
auth-server = "https://mc.satr14.my.id"; # TODO: self hosted drasl server
|
||||||
modpack = pkgs.fetchPackwizModpack {
|
modpack = let
|
||||||
url = "https://git.satr14.my.id/satr14/server-modpack/raw/commit/ffd94a9909407a5d1ca2c1a2c35b19b048815dbd/pack.toml";
|
commit = "ffd94a9909407a5d1ca2c1a2c35b19b048815dbd";
|
||||||
|
in pkgs.fetchPackwizModpack {
|
||||||
packHash = "sha256-ipG+TlkQDKODpybJ+Obwpvq8DALc6YaGCBGsn7ayLi0=";
|
packHash = "sha256-ipG+TlkQDKODpybJ+Obwpvq8DALc6YaGCBGsn7ayLi0=";
|
||||||
|
url = "https://git.satr14.my.id/satr14/server-modpack/raw/commit/${commit}/pack.toml";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
imports = [ inputs.mc.nixosModules.minecraft-servers ];
|
imports = [ inputs.mc.nixosModules.minecraft-servers ];
|
||||||
|
|
@ -40,7 +42,7 @@ in {
|
||||||
"-Dminecraft.api.session.host=${auth-server}/session"
|
"-Dminecraft.api.session.host=${auth-server}/session"
|
||||||
"-Dminecraft.api.services.host=${auth-server}/services"
|
"-Dminecraft.api.services.host=${auth-server}/services"
|
||||||
|
|
||||||
# Aikar's GC flags
|
# Aikar's GC flags (tuned for 10GB)
|
||||||
"-XX:+UseG1GC"
|
"-XX:+UseG1GC"
|
||||||
"-XX:+ParallelRefProcEnabled"
|
"-XX:+ParallelRefProcEnabled"
|
||||||
"-XX:MaxGCPauseMillis=200"
|
"-XX:MaxGCPauseMillis=200"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue