2025-12-08 03:32:04 -06:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
flake,
|
|
|
|
|
pkgs,
|
2025-12-08 22:25:13 -06:00
|
|
|
labHelpers,
|
2025-12-08 03:32:04 -06:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
let
|
2025-12-09 00:52:21 -06:00
|
|
|
inherit (labHelpers) guestPath;
|
2025-12-08 03:32:04 -06:00
|
|
|
inherit (import ./config { inherit config flake pkgs; }) fireflyVM;
|
|
|
|
|
inherit (flake.config.people) user0;
|
|
|
|
|
inherit (flake.config.people.users.${user0}) email;
|
2025-12-08 22:25:13 -06:00
|
|
|
inherit (flake.config.services.instances) firefly-iii;
|
|
|
|
|
interface0Cfg = firefly-iii.interfaces.interface0;
|
2025-12-08 03:32:04 -06:00
|
|
|
|
2025-12-09 00:52:21 -06:00
|
|
|
in
|
|
|
|
|
{
|
2025-12-08 03:32:04 -06:00
|
|
|
fireflyNick = fireflyVM {
|
|
|
|
|
user = user0;
|
2025-12-08 22:25:13 -06:00
|
|
|
ip = interface0Cfg.microvm.ip;
|
|
|
|
|
mac = interface0Cfg.microvm.mac;
|
|
|
|
|
userMac = interface0Cfg.microvm.macUser;
|
|
|
|
|
ssh = interface0Cfg.microvm.ssh0;
|
|
|
|
|
host = interface0Cfg.domain;
|
2025-12-09 00:52:21 -06:00
|
|
|
mnt = guestPath user0;
|
2025-12-08 03:32:04 -06:00
|
|
|
owner = email.address2;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# fireflyStacie = fireflyVM {
|
|
|
|
|
# user = "stacie";
|
|
|
|
|
# ip = ipAddress (id1);
|
|
|
|
|
# mac = "02:00:00:00:${id1}:${id1}";
|
|
|
|
|
# userMac = "02:00:00:00:00:${id1}";
|
|
|
|
|
# ssh = fireflyEris.ssh1;
|
|
|
|
|
# host = "";
|
|
|
|
|
# mnt = guestPath "stacie";
|
|
|
|
|
# owner = "";
|
|
|
|
|
# };
|
|
|
|
|
|
|
|
|
|
# fireflyGarnet = fireflyVM {
|
|
|
|
|
# user = "garnet";
|
|
|
|
|
# ip = ipAddress (id2);
|
|
|
|
|
# mac = "02:00:00:00:${id2}:${id2}";
|
|
|
|
|
# userMac = "02:00:00:00:00:${id2}";
|
|
|
|
|
# ssh = fireflyEris.ssh2;
|
|
|
|
|
# mnt = guestPath "garnet";
|
|
|
|
|
# host = "";
|
|
|
|
|
# owner = "";
|
|
|
|
|
# };
|
2025-12-09 00:52:21 -06:00
|
|
|
}
|