test: setting up nas structure

This commit is contained in:
Nick 2025-12-09 00:52:21 -06:00
parent 4225970826
commit a92229390e
36 changed files with 275 additions and 1039 deletions

View file

@ -5,10 +5,13 @@
...
}:
let
inherit (labHelpers) mntPath;
inherit (import ./config { inherit flake pkgs; }) minecraftVM;
inherit (flake.config.services) instances;
inherit (flake.config.people) user0;
in
{
minecraftNick01 =
let
interfaceCfg = instances.minecraft.interfaces.interface0;
@ -20,7 +23,7 @@ let
userMac = interfaceCfg.microvm.macUser;
ssh = interfaceCfg.microvm.ssh;
port = interfaceCfg.microvm.port;
mnt = "";
mnt = mntPath;
worldNumber = "01";
config = {
allow-flight = false;
@ -67,7 +70,7 @@ let
userMac = interfaceCfg.microvm.macUser;
ssh = interfaceCfg.microvm.ssh;
port = interfaceCfg.microvm.port;
mnt = "";
mnt = mntPath;
worldNumber = "02";
config = {
allow-flight = false;
@ -101,5 +104,4 @@ let
};
};
in
minecraftNick01 // minecraftNick02
}