feat: added another minecraft world

This commit is contained in:
Nick 2025-11-26 22:34:04 -06:00
parent 5b00235743
commit 710bc42aef
6 changed files with 44 additions and 34 deletions

View file

@ -25,7 +25,7 @@ in
openFirewall = true;
declarative = true;
serverProperties = {
"rcon.password" = "/etc/${serviceCfg.name}-secrets/${world}";
"rcon.password" = "/run/secrets/${world}";
allow-flight = false;
allow-nether = true;
difficulty = 2;
@ -179,4 +179,11 @@ in
};
networking.firewall.allowedTCPPorts = [ serviceCfg.ports.port0 ];
systemd = {
tmpfiles.rules = [
"d ${serviceCfg.mntPaths.path0} 0751 microvm wheel - -"
];
};
}