mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-18 12:27:59 -06:00
test: added gel but haven't tested
This commit is contained in:
parent
8eb9ed31fc
commit
9a1707fb2d
11 changed files with 536 additions and 9 deletions
28
modules/nixos/homelab/guests/gel/gelPublic/default.nix
Normal file
28
modules/nixos/homelab/guests/gel/gelPublic/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
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.interface1;
|
||||
|
||||
gelPublic = 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.istance;
|
||||
};
|
||||
|
||||
in
|
||||
gelPublic
|
||||
Loading…
Add table
Add a link
Reference in a new issue