sora: add terraria
This commit is contained in:
parent
689b8fb50f
commit
545d9ba7d9
2 changed files with 25 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
./attic.nix
|
||||
./tailscale.nix
|
||||
./croc.nix
|
||||
./terraria.nix
|
||||
# ./factorio.nix
|
||||
# ./minecraft.nix
|
||||
# ./foundryvtt.nix
|
||||
|
|
24
hosts/sora/services/terraria.nix
Normal file
24
hosts/sora/services/terraria.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{...}: {
|
||||
networking.firewall.allowedTCPPorts = [7777];
|
||||
virtualisation.oci-containers.containers.terraria = {
|
||||
image = "jacobsmile/tmodloader1.4:v2023.11.3.3";
|
||||
ports = ["7777:7777"];
|
||||
volumes = ["/var/lib/terraria/tmodloader:/data"];
|
||||
environment = {
|
||||
TMOD_MOTD = "forsen";
|
||||
TMOD_PASS = "forsen";
|
||||
TMOD_AUTOSAVE_INTERVAL = "10";
|
||||
TMOD_SHUTDOWN_MESSAGE = "Server is shutting down NOW!";
|
||||
TMOD_AUTODOWNLOAD = "2824688072,2824688266,2669644269,2563309347,2619954303,2687866031,2563851005,2908170107";
|
||||
TMOD_ENABLEDMODS = "2824688072,2824688266,2669644269,2563309347,2619954303,2687866031,2563851005,2908170107";
|
||||
TMOD_MAXPLAYERS = "10";
|
||||
TMOD_WORLDNAME = "forsenv2";
|
||||
TMOD_WORLDSIZE = "3";
|
||||
TMOD_DIFFICULTY = "2";
|
||||
TMOD_NPCSTREAM = "60";
|
||||
TMOD_WORLDSEED = "random";
|
||||
TMOD_LANGUAGE = "en-US";
|
||||
TMOD_UPNP = "1";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue