cluster/services/frangiclave: init trivial WIP
This commit is contained in:
parent
b604c3b09b
commit
de28fac9a0
2 changed files with 22 additions and 0 deletions
14
cluster/services/frangiclave/default.nix
Normal file
14
cluster/services/frangiclave/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
services.frangiclave = {
|
||||||
|
nodes = {
|
||||||
|
server = [ "VEGAS" "grail" "prophet" ]; # 3 reliable nodes
|
||||||
|
agent = []; # all nodes, for vault-agent, secret templates, etc.
|
||||||
|
};
|
||||||
|
nixos = {
|
||||||
|
server = [
|
||||||
|
./server.nix
|
||||||
|
];
|
||||||
|
agent = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
8
cluster/services/frangiclave/server.nix
Normal file
8
cluster/services/frangiclave/server.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ depot, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.vault = {
|
||||||
|
enable = true;
|
||||||
|
package = depot.packages.openbao;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue