services-flake/flake.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

{
2024-04-22 07:21:16 +03:00
description = "declarative, composable, and reproducible services for Nix development environment";
outputs = _: {
processComposeModules.default = ./nix;
templates.default = {
description = "Example flake using process-compose-flake";
path = builtins.path { path = ./example/simple; filter = path: _: baseNameOf path == "flake.nix"; };
};
2023-07-11 04:25:49 +03:00
lib = import ./nix/lib.nix;
2023-07-11 04:25:49 +03:00
# Config for https://github.com/srid/nixci
# To run this, `nix run github:srid/nixci`
nixci.default = let overrideInputs = { "services-flake" = ./.; }; in {
simple-example = {
2023-07-11 04:25:49 +03:00
inherit overrideInputs;
dir = "./example/simple";
};
2024-06-13 20:58:14 +03:00
llm-example = {
inherit overrideInputs;
dir = "./example/llm";
};
share-services-example = {
overrideInputs = {
inherit (overrideInputs) services-flake;
northwind = ./example/share-services/northwind;
};
dir = "./example/share-services/pgweb";
2023-07-11 04:25:49 +03:00
};
test = {
inherit overrideInputs;
dir = "./test";
};
dev = {
inherit overrideInputs;
2023-07-11 04:25:49 +03:00
dir = "./dev";
};
doc = {
dir = "./doc";
};
2023-07-11 04:25:49 +03:00
};
};
}