add basic guest config (warning CI is definitely failing lol)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-05-25 15:19:01 -04:00
parent 45610cb886
commit 3a61c7522d
6 changed files with 85 additions and 9 deletions

View File

@ -2,8 +2,26 @@
config,
lib,
pkgs,
src,
...
}:
let
inherit (lib.rad-dev.microvm) genFromList;
in
{
# rad-dev.microvm-host.enable = true;
rad-dev.microvm-host.vms = (
genFromList (src + "/modules/opt/k3s-server.nix") (src + "/modules/opt/k3s-agent.nix") [
{
host = "ph-server-1";
ipv4 = "192.168.69.10";
server = true;
}
{
host = "ph-agent-1";
ipv4 = "192.168.69.30";
}
]
);
}