feat(servers): enable steampunk mc server
All checks were successful
Discord / discord commits (push) Successful in 29s
All checks were successful
Discord / discord commits (push) Successful in 29s
This commit is contained in:
parent
522fe47749
commit
603bb6adee
1 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,8 @@ in {
|
||||||
config.customPkgs.curseforge-server-downloader
|
config.customPkgs.curseforge-server-downloader
|
||||||
];
|
];
|
||||||
|
|
||||||
|
systemd.services.mc-steampunk.path = with pkgs; [curl];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
borgbackup.configs.mc = {
|
borgbackup.configs.mc = {
|
||||||
paths = ["/var/lib/minecraft"];
|
paths = ["/var/lib/minecraft"];
|
||||||
|
@ -23,6 +25,7 @@ in {
|
||||||
|
|
||||||
instances = let
|
instances = let
|
||||||
jre17 = pkgs.temurin-bin-17;
|
jre17 = pkgs.temurin-bin-17;
|
||||||
|
jre18 = pkgs.temurin-bin-18;
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
spawn-protection = 0;
|
spawn-protection = 0;
|
||||||
|
@ -73,11 +76,11 @@ in {
|
||||||
# Modded https://www.curseforge.com/minecraft/modpacks/steam-punk
|
# Modded https://www.curseforge.com/minecraft/modpacks/steam-punk
|
||||||
# curseforge-server-downloader --pack 643605 --version latest
|
# curseforge-server-downloader --pack 643605 --version latest
|
||||||
steampunk = {
|
steampunk = {
|
||||||
enable = false;
|
enable = true;
|
||||||
|
|
||||||
jvmMaxAllocation = "12G";
|
jvmMaxAllocation = "12G";
|
||||||
jvmInitialAllocation = "2G";
|
jvmInitialAllocation = "2G";
|
||||||
jvmPackage = jre17;
|
jvmPackage = jre18;
|
||||||
jvmOpts = "";
|
jvmOpts = "";
|
||||||
|
|
||||||
serverConfig =
|
serverConfig =
|
||||||
|
|
Loading…
Reference in a new issue