mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 02:20:53 -06:00
53 lines
1.3 KiB
Nix
53 lines
1.3 KiB
Nix
{
|
|
config,
|
|
flake,
|
|
pkgs,
|
|
nasHelpers,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ./config { inherit config flake pkgs; }) fireflyVM;
|
|
inherit (nasHelpers) ipAddress guestPath firefly;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.people.users.${user0}) email;
|
|
inherit (flake.config.services) instances;
|
|
id0 = builtins.toString firefly.id0;
|
|
id1 = builtins.toString firefly.id1;
|
|
id2 = builtins.toString firefly.id2;
|
|
|
|
fireflyNick = fireflyVM {
|
|
user = user0;
|
|
ip = ipAddress id0;
|
|
mac = "02:00:00:00:${id0}:${id0}";
|
|
userMac = "02:00:00:00:00:${id0}";
|
|
ssh = firefly.ssh0;
|
|
host = instances.firefly-iii.domains.url0;
|
|
mnt = guestPath user0;
|
|
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 = "";
|
|
# };
|
|
|
|
in
|
|
fireflyNick
|
|
# // fireflyStacie // fireflyGarnet
|