test: added gel but haven't tested

This commit is contained in:
Nick 2025-12-14 23:00:25 -06:00
parent 8eb9ed31fc
commit 9a1707fb2d
11 changed files with 536 additions and 9 deletions

View file

@ -73,6 +73,7 @@ let
ip = stringType;
subdomain = stringType;
wireguard = stringType;
instance = stringType;
microvm = lib.mkOption {
type = lib.types.submodule {
options = {

View file

@ -0,0 +1,41 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions) dummy;
label = "Gel";
name = "gel";
in
{
label = label;
name = name;
tags = [
dummy
];
ports = {
};
interfaces = {
interface0 = {
instance = "private";
microvm = {
id = "vm-gelpri";
mac = "02:00:00:00:81:81";
idUser = "vmuser-gelpri";
macUser = "02:00:00:00:00:81";
ip = "192.168.50.181";
gate = "192.168.50.1";
ssh = 2801;
};
};
interface1 = {
instance = "public";
microvm = {
id = "vm-gelpub";
mac = "02:00:00:00:81:82";
idUser = "vmuser-gelpub";
macUser = "02:00:00:00:00:82";
ip = "192.168.50.182";
gate = "192.168.50.1";
ssh = 2802;
};
};
};
}