test: setting up nas structure

This commit is contained in:
Nick 2025-12-08 22:25:13 -06:00
parent 8cd193ec49
commit 4225970826
747 changed files with 2938 additions and 4347 deletions

View file

@ -0,0 +1,46 @@
{
flake,
pkgs,
labHelpers,
...
}:
let
inherit (import ./config { inherit flake pkgs; }) opencloudVM;
inherit (flake.config.people) user0;
inherit (flake.config.services.instances) opencloud;
interface0Cfg = opencloud.interfaces.interface0;
opencloudNick = opencloudVM {
user = user0;
ip = interface0Cfg.microvm.ip;
mac = interface0Cfg.microvm.mac;
userMac = interface0Cfg.microvm.macUser;
ssh = interface0Cfg.microvm.ssh;
mnt = "";
host = interface0Cfg.domain;
};
# opencloudStacie = opencloudVM {
# user = "stacie";
# ip = ipAddress id1;
# mac = "02:00:00:00:${id1}:${id1}";
# userMac = "02:00:00:00:00:${id1}";
# ssh = opencloud.ssh1;
# mnt = guestPath "stacie";
# host = "";
# };
# opencloudGarnet = opencloudVM {
# user = "garnet";
# ip = ipAddress id2;
# mac = "02:00:00:00:${id2}:${id2}";
# userMac = "02:00:00:00:00:${id2}";
# ssh = opencloud.ssh2;
# mnt = guestPath "garnet";
# host = "";
# };
in
opencloudNick
# // opencloudStacie // opencloudGarnet