mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 02:20:53 -06:00
46 lines
1.1 KiB
Nix
Executable file
46 lines
1.1 KiB
Nix
Executable file
{
|
|
flake,
|
|
labHelpers,
|
|
...
|
|
}:
|
|
let
|
|
inherit (labHelpers) guestPath;
|
|
inherit (import ./config { inherit flake; }) vaultwardenVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services.instances) vaultwarden;
|
|
|
|
interface0Cfg = vaultwarden.interfaces.interface0;
|
|
|
|
in
|
|
{
|
|
vaultwardenNick = vaultwardenVM {
|
|
user = user0;
|
|
ip = interface0Cfg.microvm.ip;
|
|
mac = interface0Cfg.microvm.mac;
|
|
userMac = interface0Cfg.microvm.macUser;
|
|
ssh = interface0Cfg.microvm.ssh;
|
|
mnt = guestPath user0;
|
|
host = interface0Cfg.domain;
|
|
};
|
|
|
|
# vaultwardenStacie = vaultwardenVM {
|
|
# user = "stacie";
|
|
# ip = ipAddress id1;
|
|
# mac = "02:00:00:00:${id1}:${id1}";
|
|
# userMac = "02:00:00:00:00:${id1}";
|
|
# ssh = vaultwarden.ssh1;
|
|
# mnt = guestPath "stacie";
|
|
# host = "";
|
|
# };
|
|
|
|
# vaultwardenGarnet = vaultwardenVM {
|
|
# user = "garnet";
|
|
# ip = ipAddress id2;
|
|
# mac = "02:00:00:00:${id2}:${id2}";
|
|
# userMac = "02:00:00:00:00:${id2}";
|
|
# ssh = vaultwarden.ssh2;
|
|
# mnt = guestPath "garnet";
|
|
# host = "";
|
|
# };
|
|
|
|
}
|