Compare commits

..

No commits in common. "3bf2e684623294419f1d23064fd4d8d13d069ec9" and "c289954dc316f8744c16ef76da3e4deb60a4de79" have entirely different histories.

3 changed files with 11 additions and 30 deletions

View File

@ -80,8 +80,8 @@
allowedIPs = [ "10.100.1.0/24" ]; allowedIPs = [ "10.100.1.0/24" ];
} }
{ # ku { # ku
publicKey = "MCPLxi1clVx92gfeq04mm1flgjzS2XqtC3OKN6C0iE8="; publicKey = "L4msD0mEG2ctKDtaMJW2y3cs1fT2LBRVV7iVlWZ2nZc=";
allowedIPs = [ "10.100.2.0/24" ]; allowedIPs = [ "10.100.0.3/32" ];
} }
{ # Jas { # Jas
publicKey = "Q90Tvst8ZntJPl1WxLOcV108k9SwPIpjXAtxHPE62UM="; publicKey = "Q90Tvst8ZntJPl1WxLOcV108k9SwPIpjXAtxHPE62UM=";
@ -95,26 +95,6 @@
publicKey = "36tqEexZ8e6ks+qjDpnMzUY9LAJvFvVDe6MLzR9vtEo="; publicKey = "36tqEexZ8e6ks+qjDpnMzUY9LAJvFvVDe6MLzR9vtEo=";
allowedIPs = [ "10.100.0.5/32" ]; allowedIPs = [ "10.100.0.5/32" ];
} }
{ # melon :>
publicKey = "nJgeRkHd6mRqT/lMUJIApCov4GgSekrkJJxZGTXOVCE=";
allowedIPs = [ "10.100.0.7/32" ];
}
{
publicKey = "gs17DdrtnYe2cA+Jxt6p/qovfCAT7eVn58Pq5eTHmGc=";
allowedIPs = [ "10.100.0.8/32" ];
}
{ # Kitibri
publicKey = "cT95nYaPYkra1Im355EwUXxw9Wef7b1j0YBx6+rnp1s=";
allowedIPs = [ "10.100.0.9/32" ];
}
{ # ken
publicKey = "6FHWDuKLW3QNVNTURIm6bJ1s0+FtzgEO9TtKuS0khhM=";
allowedIPs = [ "10.100.0.10/32" ];
}
{ # Jamie
publicKey = "mF6eLG4VgwVV56PGn+Omg0mvN2UGB8b0i7rq8rJI+l0=";
allowedIPs = [ "10.100.0.11/32" ];
}
]; ];
}; };
}; };
@ -139,7 +119,7 @@
# List services that you want to enable: # List services that you want to enable:
networking.firewall.allowedTCPPorts = [ 80 443 22 25565 ]; networking.firewall.allowedTCPPorts = [ 80 443 22 ];
services.nginx = { services.nginx = {
enable = true; enable = true;

View File

@ -3,15 +3,16 @@
project.name = "minecraft"; project.name = "minecraft";
services = { services = {
mc = { mc = {
service.image = "itzg/minecraft-server:java17-jdk"; service.image = "itzg/minecraft-server:latest";
service.volumes = [ "/home/podman/data:/data" ]; service.volumes = [ "/home/podman/data:/data" ];
service.dns = [ "8.8.8.8" ]; service.ports = [ "25565:25565" ];
service.network_mode = "host";
service.environment = { service.environment = {
EULA = "true"; EULA = "true";
TYPE = "FORGE"; MOD_PLATFORM = "AUTO_CURSEFORGE";
VERSION = "1.20.1"; # https://stackoverflow.com/questions/49897503/
FORGE_VERSION = "47.2.20"; CF_API_KEY = "$$2a$$10$$BiefeMHCHbPFjXkIwpHk/.LvfbKaohRF7HcB3PF8oJtVAI/PfMpwe"; # free API key <3
CF_FORCE_SYNCHRONIZE = "true";
CF_PAGE_URL = "https://www.curseforge.com/minecraft/modpacks/valhelsia-6/files/5135030";
MEMORY = "16G"; MEMORY = "16G";
}; };
}; };

View File

@ -1 +1 @@
c/1P958N3SWSZHsuY+E2OMB2tC+jFfJ1Hkqc752N+Bc= M9QXz6kgLejkhi2mcxxdWhTmGWkbhgblQnA3KfyHqlo=