2024-07-21 00:52:16 +03:00
|
|
|
{ config, ... }:
|
|
|
|
|
2024-07-20 23:18:01 +03:00
|
|
|
{
|
|
|
|
services.frangiclave = {
|
|
|
|
nodes = {
|
2024-07-21 00:52:16 +03:00
|
|
|
server = [ "VEGAS" "grail" "prophet" ];
|
|
|
|
cluster = config.services.frangiclave.nodes.server;
|
2024-07-20 23:18:01 +03:00
|
|
|
agent = []; # all nodes, for vault-agent, secret templates, etc.
|
|
|
|
};
|
2024-07-21 00:52:16 +03:00
|
|
|
meshLinks = {
|
|
|
|
server.link.protocol = "http";
|
|
|
|
cluster.link.protocol = "http";
|
|
|
|
};
|
2024-07-20 23:18:01 +03:00
|
|
|
nixos = {
|
|
|
|
server = [
|
|
|
|
./server.nix
|
|
|
|
];
|
2024-07-21 00:52:16 +03:00
|
|
|
cluster = [];
|
2024-07-20 23:18:01 +03:00
|
|
|
agent = [];
|
|
|
|
};
|
2024-07-23 03:47:35 +03:00
|
|
|
simulacrum = {
|
|
|
|
enable = true;
|
|
|
|
deps = [ "wireguard" "consul" ];
|
|
|
|
settings = ./test.nix;
|
|
|
|
};
|
2024-07-20 23:18:01 +03:00
|
|
|
};
|
|
|
|
}
|