mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-17 11:58:00 -06:00
28 lines
646 B
Nix
28 lines
646 B
Nix
{
|
|
flake,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ../../../helpers.nix { inherit flake; }) labHelpers;
|
|
inherit (labHelpers) mntPath;
|
|
inherit (import ../config { inherit flake lib pkgs; }) gelVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services) instances;
|
|
|
|
interfaceCfg = instances.gel.interfaces.interface0;
|
|
|
|
gelPrivate = gelVM {
|
|
user = user0;
|
|
ip = interfaceCfg.microvm.ip;
|
|
mac = interfaceCfg.microvm.mac;
|
|
userMac = interfaceCfg.microvm.macUser;
|
|
ssh = interfaceCfg.microvm.ssh;
|
|
mnt = mntPath;
|
|
host = interfaceCfg.domain;
|
|
instance = interfaceCfg.instance;
|
|
};
|
|
|
|
in
|
|
gelPrivate
|