2023-06-20 00:54:46 +03:00
|
|
|
{
|
2024-04-22 07:21:16 +03:00
|
|
|
description = "declarative, composable, and reproducible services for Nix development environment";
|
2023-06-20 00:54:46 +03:00
|
|
|
outputs = _: {
|
|
|
|
processComposeModules.default = ./nix;
|
|
|
|
|
|
|
|
templates.default = {
|
|
|
|
description = "Example flake using process-compose-flake";
|
2024-03-11 21:24:25 +03:00
|
|
|
path = builtins.path { path = ./example/simple; filter = path: _: baseNameOf path == "flake.nix"; };
|
2023-06-20 00:54:46 +03:00
|
|
|
};
|
2023-07-11 04:25:49 +03:00
|
|
|
|
2023-07-20 23:51:19 +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`
|
2023-10-19 21:18:19 +03:00
|
|
|
nixci.default = let overrideInputs = { "services-flake" = ./.; }; in {
|
2024-03-11 21:05:30 +03:00
|
|
|
simple-example = {
|
2023-07-11 04:25:49 +03:00
|
|
|
inherit overrideInputs;
|
2024-03-11 21:05:30 +03:00
|
|
|
dir = "./example/simple";
|
|
|
|
};
|
2024-06-13 20:58:14 +03:00
|
|
|
llm-example = {
|
|
|
|
inherit overrideInputs;
|
|
|
|
dir = "./example/llm";
|
|
|
|
};
|
2024-03-11 21:05:30 +03:00
|
|
|
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 = {
|
2024-02-20 08:36:02 +03:00
|
|
|
inherit overrideInputs;
|
2023-07-11 04:25:49 +03:00
|
|
|
dir = "./dev";
|
|
|
|
};
|
2024-01-21 15:29:30 +03:00
|
|
|
doc = {
|
|
|
|
dir = "./doc";
|
|
|
|
};
|
2023-07-11 04:25:49 +03:00
|
|
|
};
|
2023-06-20 00:54:46 +03:00
|
|
|
};
|
|
|
|
}
|