Skip to content

Commit

Permalink
feat(etna): add ragnamod7 server
Browse files Browse the repository at this point in the history
  • Loading branch information
uku3lig committed Apr 1, 2024
1 parent 3833f8b commit 05c057f
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions systems/etna/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,11 @@
group = "cloudflared";
};

atticEnv = {
file = "${path}/atticEnv.age";
owner = "atticd";
group = "atticd";
};

apiRsEnv.file = "${path}/apiRsEnv.age";
ukubotRsEnv.file = "${path}/ukubotRsEnv.age";
ngrokEnv.file = "${path}/ngrokEnv.age";
minecraftEnv.file = "${path}/minecraftEnv.age";
atticEnv.file = "${path}/atticEnv.age";
};

boot.loader.systemd-boot.enable = true;
Expand Down Expand Up @@ -85,6 +80,13 @@
local_port = 25565;
remote_port = 6000;
};

ragnamod7 = {
type = "tcp";
local_ip = "127.0.0.1";
local_port = 25566;
remote_port = 6001;
};
};
};

Expand Down Expand Up @@ -176,12 +178,32 @@
];
environment = {
EULA = "true";
MEMORY = "16G";
MEMORY = "12G";
USE_AIKAR_FLAGS = "true";
TYPE = "AUTO_CURSEFORGE";
CF_SLUG = "all-the-mods-8";
CF_FILE_ID = "4962718";
};
};

"ragnamod7" = {
image = "itzg/minecraft-server";
ports = ["25566:25565"];
volumes = [
"/data/ragnamod7:/data"
"/data/downloads:/downloads"
];
environmentFiles = [
config.age.secrets.minecraftEnv.path
];
environment = {
EULA = "true";
MEMORY = "12G";
USE_AIKAR_FLAGS = "true";
TYPE = "AUTO_CURSEFORGE";
CF_SLUG = "ragnamod-vii";
CF_FILE_ID = "5171286";
};
};
};
}

0 comments on commit 05c057f

Please sign in to comment.