unified cluster setup using colmena

This commit is contained in:
Jonas Juselius
2022-09-09 11:00:55 +02:00
parent ff19c52fd1
commit 980364adee
61 changed files with 966 additions and 117 deletions

22
cluster/hive.nix Normal file
View File

@@ -0,0 +1,22 @@
let
# Pin the deployment package-set to a specific version of nixpkgs
# pkgs = import (builtins.fetchTarball {
# url = "https://github.com/NixOS/nixpkgs/archive/e6377ff35544226392b49fa2cf05590f9f0c4b43.tar.gz";
# sha256 = "1fra9wwy5gvj5ibayqkzqpwdf715bggc0qbmrfch4fghwvl5m70l";
# }) {};
pkgs = import <nixpkgs> {};
ekman = {
deployment = {
tags = [ "ekman" "frontend" ];
allowLocalDeployment = true;
targetHost = null;
};
imports = [ ../configuration.nix ];
};
compute = import ./compute { inherit pkgs; };
nfs0 = import ./nfs0 { inherit pkgs; };
nfs1 = import ./nfs1 { inherit pkgs; };
in
{ inherit ekman; } // compute // nfs0 // nfs1