feat: added another minecraft world

This commit is contained in:
Nick 2025-11-26 21:40:17 -06:00
parent d92743dad4
commit a4e4f75265
5 changed files with 228 additions and 3 deletions

View file

@ -0,0 +1,38 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
varPath
mntPath
secretPath
;
label = "Minecraft";
name = "minecraft";
short = "mine";
secrets = "${secretPath}/${name}";
in
{
label = label;
name = name;
short = short;
ports = {
port0 = 43001;
};
interface = {
id = "vm-${short}";
mac = "02:00:00:00:51:42";
idUser = "vmuser-${short}";
macUser = "02:00:00:00:00:42";
ip = "192.168.50.142";
gate = "192.168.50.1";
ssh = 2402;
};
varPaths = {
path0 = "${varPath}/${name}";
};
mntPaths = {
path0 = "${mntPath}/${name}";
};
secretPaths = {
path0 = secrets;
};
}