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
|
|
@ -73,6 +73,7 @@ let
|
|||
ip = stringType;
|
||||
subdomain = stringType;
|
||||
wireguard = stringType;
|
||||
instance = stringType;
|
||||
microvm = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
options = {
|
||||
|
|
|
|||
41
modules/config/instances/config/gel.nix
Normal file
41
modules/config/instances/config/gel.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue