A Bitte Cell is a domain unit made for bitte
deployments that combines the following cellBlocks:
- Installables:
- Packages (
packages
)
- Packages (
- Runnables:
- Entrypoints (
entrypoints
)
- Entrypoints (
- Functions:
- Library (
library
) - Nomad Jobs (
nomadJob
) - Devshell Profiles (
devshellProfiles
) - Nixos Profiles (
nixosProfiles
) - Hydration Profiles (
hydrationProfiles
)
- Library (
You'll find further information about this nomenclature in the Standard Readme.
# flake.nix
{
inputs.std.url = "github:divnix/std";
# use multiple revisions of the same flake to track individual cell's release cycles
inputs.cardano-cell.url = "github:input-output-hk/bitte-cells/<cardno-cell-revision>";
inputs.patroni-cell.url = "github:input-output-hk/bitte-cells/<patroni-cell-revision>";
outputs = inputs: inputs.std.growOn {
inherit inputs;
systems = [{
build = "x86_64-unknown-linux-gnu"; # GNU/Linux 64 bits
host = "x86_64-unknown-linux-gnu"; # GNU/Linux 64 bits
}];
cellsFrom = ./cells;
cellBlocks = [ "<...>" ];
}
# soil
(inputs.std.harvest "cardano" inputs.cardano-cell)
(inputs.std.harvest "patroni" inputs.patroni-cell)
;
}