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

@ -7,20 +7,19 @@ let
;
label = "Minecraft";
name = "minecraft";
short = "mine0";
world = "world0";
secrets = "${secretPath}/${name}";
in
{
label = label;
name = name;
short = short;
ports = {
port0 = 43000;
};
interface = {
id = "vm-${short}";
id = "vm-${world}";
mac = "02:00:00:00:51:41";
idUser = "vmuser-${short}";
idUser = "vmuser-${world}";
macUser = "02:00:00:00:00:41";
ip = "192.168.50.141";
gate = "192.168.50.1";
@ -30,7 +29,7 @@ in
path0 = "${varPath}/${name}";
};
mntPaths = {
path0 = "${mntPath}/${name}";
path0 = "${mntPath}/${name}-${world}";
};
secretPaths = {
path0 = secrets;

View file

@ -7,20 +7,19 @@ let
;
label = "Minecraft";
name = "minecraft";
short = "mine1";
world = "world1";
secrets = "${secretPath}/${name}";
in
{
label = label;
name = name;
short = short;
ports = {
port0 = 43001;
};
interface = {
id = "vm-${short}";
id = "vm-${world}";
mac = "02:00:00:00:51:42";
idUser = "vmuser-${short}";
idUser = "vmuser-${world}";
macUser = "02:00:00:00:00:42";
ip = "192.168.50.142";
gate = "192.168.50.1";
@ -30,7 +29,7 @@ in
path0 = "${varPath}/${name}";
};
mntPaths = {
path0 = "${mntPath}/${name}";
path0 = "${mntPath}/${name}-${world}";
};
secretPaths = {
path0 = secrets;