mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
test: microVM test
This commit is contained in:
parent
bd1d74997d
commit
f15baf7ccb
21 changed files with 405 additions and 529 deletions
|
|
@ -71,10 +71,23 @@ let
|
|||
email = genOptions stringType "address";
|
||||
sops = genOptions stringType "path";
|
||||
paths = genOptions stringType "path";
|
||||
varPaths = genOptions stringType "path";
|
||||
mntPaths = genOptions stringType "path";
|
||||
secretPaths = genOptions stringType "path";
|
||||
ports = genOptions intType "port";
|
||||
interface = {
|
||||
id = stringType;
|
||||
mac = stringType;
|
||||
idUser = stringType;
|
||||
macUser = stringType;
|
||||
ip = stringType;
|
||||
gate = stringType;
|
||||
ssh = intType;
|
||||
};
|
||||
ssl = {
|
||||
cert = stringType;
|
||||
key = stringType;
|
||||
path = stringType;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -259,15 +272,26 @@ in
|
|||
|
||||
};
|
||||
|
||||
instancesFunctions = {
|
||||
domain0 = "cloudbert.fun";
|
||||
domain1 = "uprootnutrition.com";
|
||||
servicePath = "/mnt/media/NAS1";
|
||||
sopsPath = "/var/lib/secrets";
|
||||
sslPath = "/var/lib/acme";
|
||||
varLib = "/var/lib";
|
||||
dummy = "";
|
||||
};
|
||||
instancesFunctions =
|
||||
let
|
||||
vm = "vm-";
|
||||
var = "/var/lib";
|
||||
in
|
||||
{
|
||||
domain0 = "cloudbert.fun";
|
||||
domain1 = "uprootnutrition.com";
|
||||
idPrefix = vm;
|
||||
userPrefix = "user${vm}";
|
||||
emailNoReply = "noreply";
|
||||
servicePath = "/mnt/media/NAS1";
|
||||
mntPath = "/mnt/storage";
|
||||
varLib = var;
|
||||
varPath = var;
|
||||
sslPath = "${var}/acme";
|
||||
sopsPath = "${var}/secrets";
|
||||
secretPath = "${var}/secrets";
|
||||
dummy = "";
|
||||
};
|
||||
|
||||
themesFunctions = {
|
||||
brogrammer = "brogrammer";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue