23 lines
739 B
Nix
23 lines
739 B
Nix
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 ./cluster/compute { inherit pkgs; };
|
|
nfs0 = import ./cluster/nfs0 { inherit pkgs; };
|
|
nfs1 = import ./cluster/nfs1 { inherit pkgs; };
|
|
in
|
|
{ inherit ekman; } // compute // nfs0 // nfs1
|