hpc-cluster/nixops/nixops.nix
2020-02-08 01:02:16 +01:00

14 lines
184 B
Nix

let
cluster = (import ./cluster.nix);
in {
nodes = map (x: {
{ config, pkgs, ... }:
{
deployment = {
targetHost = x.ip;
}
}) cluster.nodes;
}