nixos-config/users/arion-compose.nix

48 lines
1.2 KiB
Nix
Raw Normal View History

2024-03-05 09:16:28 +00:00
{ pkgs, ... }:
{
project.name = "minecraft";
2024-05-05 02:53:08 +00:00
services = {
mc = {
service.image = "itzg/minecraft-server:java17-jdk";
service.volumes = [ "/home/podman/data:/data" ];
service.dns = [ "8.8.8.8" ];
service.network_mode = "host";
service.environment = {
EULA = "true";
TYPE = "FORGE";
VERSION = "1.20.1";
FORGE_VERSION = "47.2.20";
MEMORY = "16G";
2024-04-25 20:34:23 +00:00
};
2024-05-05 02:53:08 +00:00
};
ftb_infinity = {
service.image = "itzg/minecraft-server:java8-multiarch";
service.volumes = [ "/home/podman/ftb_infinity/data:/data" ];
service.dns = [ "8.8.8.8" ];
service.network_mode = "host";
service.environment = {
EULA = "true";
TYPE = "FORGE";
VERSION = "1.7.10";
FORGE_VERSION = "10.13.4.1614";
MEMORY = "16G";
};
};
fabric = {
service.image = "itzg/minecraft-server:java17-jdk";
service.volumes = [ "/home/podman/fabric/data:/data" ];
service.dns = [ "8.8.8.8" ];
service.network_mode = "host";
service.environment = {
EULA = "true";
TYPE = "FABRIC";
VERSION = "1.20.1";
MEMORY = "16G";
OPS = "Fallingsky04";
SERVER_PORT = "25567";
SEED="-2098004362385192995";
2024-04-25 20:34:23 +00:00
};
2024-03-05 09:16:28 +00:00
};
};
}