nixos/simpcraft: Add mods
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 23m39s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 23m39s
This commit is contained in:
parent
e24ac05bb2
commit
066c87d3d6
@ -173,6 +173,10 @@ rec {
|
|||||||
port = 25565;
|
port = 25565;
|
||||||
dst = aa.simpcraft-oci.internal.ipv4.address;
|
dst = aa.simpcraft-oci.internal.ipv4.address;
|
||||||
}
|
}
|
||||||
|
# {
|
||||||
|
# port = 25566;
|
||||||
|
# dst = aa.simpcraft-staging-oci.internal.ipv4.address;
|
||||||
|
# }
|
||||||
|
|
||||||
{
|
{
|
||||||
port = 2456;
|
port = 2456;
|
||||||
@ -190,6 +194,12 @@ rec {
|
|||||||
dst = aa.waffletail.internal.ipv4.address;
|
dst = aa.waffletail.internal.ipv4.address;
|
||||||
proto = "udp";
|
proto = "udp";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
port = 25565;
|
||||||
|
dst = aa.simpcraft-oci.internal.ipv4.address;
|
||||||
|
proto = "udp";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
fstrimConfig = {
|
fstrimConfig = {
|
||||||
|
@ -400,6 +400,7 @@ in
|
|||||||
chain routing-udp {
|
chain routing-udp {
|
||||||
ip6 daddr ${aa.valheim-oci.internal.ipv6.address} udp dport { 2456-2457 } accept
|
ip6 daddr ${aa.valheim-oci.internal.ipv6.address} udp dport { 2456-2457 } accept
|
||||||
ip6 daddr ${aa.waffletail.internal.ipv6.address} udp dport 41641 accept
|
ip6 daddr ${aa.waffletail.internal.ipv6.address} udp dport 41641 accept
|
||||||
|
ip6 daddr ${aa.simpcraft-oci.internal.ipv6.address} udp dport 25565 accept
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
chain filter-routing {
|
chain filter-routing {
|
||||||
|
@ -51,6 +51,7 @@ in
|
|||||||
}) {
|
}) {
|
||||||
valheim-oci = 2;
|
valheim-oci = 2;
|
||||||
simpcraft-oci = 3;
|
simpcraft-oci = 3;
|
||||||
|
# simpcraft-staging-oci = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
configuration = { lib, pkgs, modulesPath, config, assignments, allAssignments, ... }:
|
configuration = { lib, pkgs, modulesPath, config, assignments, allAssignments, ... }:
|
||||||
|
@ -13,14 +13,14 @@ in
|
|||||||
image = "ghcr.io/itzg/minecraft-server:2023.12.2-java17-alpine";
|
image = "ghcr.io/itzg/minecraft-server:2023.12.2-java17-alpine";
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
TYPE = "paper";
|
TYPE = "MODRINTH";
|
||||||
|
|
||||||
EULA = "true";
|
EULA = "true";
|
||||||
|
ENABLE_QUERY = "true";
|
||||||
MOTD = "§4§k----- §9S§ai§bm§cp§dc§er§fa§6f§5t §4§k-----";
|
MOTD = "§4§k----- §9S§ai§bm§cp§dc§er§fa§6f§5t §4§k-----";
|
||||||
ICON = "/ext/icon.png";
|
ICON = "/ext/icon.png";
|
||||||
DIFFICULTY = "normal";
|
|
||||||
|
|
||||||
OVERRIDE_WHITELIST = "true";
|
EXISTING_WHITELIST_FILE = "SYNCHRONIZE";
|
||||||
WHITELIST = concatStringsSep "," [
|
WHITELIST = concatStringsSep "," [
|
||||||
op
|
op
|
||||||
"dcd2ecb9-2b5e-49cb-9d4f-f5a76162df56" # Elderlypug
|
"dcd2ecb9-2b5e-49cb-9d4f-f5a76162df56" # Elderlypug
|
||||||
@ -33,12 +33,14 @@ in
|
|||||||
"f439f64d-91c9-4c74-9ce5-df4d24cd8e05" # hynge_
|
"f439f64d-91c9-4c74-9ce5-df4d24cd8e05" # hynge_
|
||||||
"d6ec4c91-5da2-44eb-b89d-71dc8fe017a0" # Eefah98
|
"d6ec4c91-5da2-44eb-b89d-71dc8fe017a0" # Eefah98
|
||||||
];
|
];
|
||||||
|
EXISTING_OPS_FILE = "SYNCHRONIZE";
|
||||||
OPS = op;
|
OPS = op;
|
||||||
|
DIFFICULTY = "normal";
|
||||||
SPAWN_PROTECTION = "0";
|
SPAWN_PROTECTION = "0";
|
||||||
VIEW_DISTANCE = "20";
|
VIEW_DISTANCE = "20";
|
||||||
|
|
||||||
MAX_MEMORY = "4G";
|
MAX_MEMORY = "6G";
|
||||||
MODRINTH_PROJECTS = concatStringsSep "," [ ];
|
MODRINTH_MODPACK = "https://cdn.modrinth.com/data/CIYf3Hk8/versions/CN6MqSAU/Simpcraft-0.1.0.mrpack";
|
||||||
|
|
||||||
TZ = "Europe/Dublin";
|
TZ = "Europe/Dublin";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user