15 lines
184 B
Nix
15 lines
184 B
Nix
|
let
|
||
|
cluster = (import ./cluster.nix);
|
||
|
in {
|
||
|
nodes = map (x: {
|
||
|
|
||
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
deployment = {
|
||
|
targetHost = x.ip;
|
||
|
}
|
||
|
}) cluster.nodes;
|
||
|
|
||
|
|
||
|
}
|