Compare commits

..

No commits in common. "d0c50ed1af26e87bcfda98163d65dea0724c1df7" and "a0a9e032be5c0f8e6a34bc47b58c106c0086527d" have entirely different histories.

2 changed files with 27 additions and 42 deletions

View File

@ -124,11 +124,11 @@
allowedIPs = [ "10.100.0.13/32" ];
}
{ # meow
publicKey = "Jn3py2rxRuoluUl4eKxK+m+f21wMzQ4xI+NOMt7Oihc=";
publicKey = "Jn3py2rxRuoluUl4eKxK+m+f21wMzQ4xI+NOMt7Oihc="
allowedIPs = [ "10.100.0.14/32" ];
}
{ # fetti
publicKey = "g92YcBJQK/MOWMbpF8wZV/G8EgKdcIdltfdE/26GgSA=";
publicKey = "g92YcBJQK/MOWMbpF8wZV/G8EgKdcIdltfdE/26GgSA="
allowedIPs = [ "10.100.0.15/32" ];
}
];
@ -155,7 +155,7 @@
# List services that you want to enable:
networking.firewall.allowedTCPPorts = [ 80 443 22 25565 25566 25567];
networking.firewall.allowedTCPPorts = [ 80 443 22 25565 25566 ];
services.nginx = {
enable = true;

View File

@ -1,46 +1,31 @@
{ pkgs, ... }:
{
project.name = "minecraft";
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";
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";
};
};
};
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";
ftb = {
service.image = "itzg/minecraft-server:java8-multiarch";
service.volumes = [ "/home/podman/ftb/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.2.1291";
MEMORY = "16G";
};
};
};