Skip to content
Snippets Groups Projects
Commit 6e1790bb authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Get rid of make-grid since it no longer has any callers

parent 585d5d43
Branches
No related tags found
No related merge requests found
rec {
hardware-aws = import ./issuer-aws.nix;
make-grid = import ./make-grid.nix;
issuer = import ./issuer.nix;
customize-issuer = import ./customize-issuer.nix;
......
# Define a function for making a morph configuration for a storage grid. It
# takes two arguments. A string like "Production" giving the name of the grid
# and a function that takes the grid configuration as an argument and returns
# a set of nodes specifying the addresses and NixOS configurations for each
# server in the morph network.
{ name, config, nodes }:
let
pkgs = import <nixpkgs> { };
# Load our JSON configuration for later use.
cfg = pkgs.lib.trivial.importJSON config;
in
{
network = {
# Make all of the hosts in this network use the nixpkgs we pinned above.
inherit pkgs;
# This is just for human consumption as far as I can tell.
description = "PrivateStorage.io ${name} Grid";
};
} // (nodes cfg)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment