soonix/nix/repo/soonix.nix

36 lines
636 B
Nix
Raw Normal View History

{
inputs,
2025-09-04 11:01:08 +02:00
cell,
...
}: let
inherit (inputs) soonix;
2025-09-04 11:01:08 +02:00
inherit (cell) ci;
in
(soonix.make {
hooks = {
2025-09-04 11:01:08 +02:00
ci = ci.soonix;
test = {
output = "test.yaml";
generator = "nix";
data = {
name = "soonix-test";
version = "1.0.0";
};
opts.format = "yaml";
hook = {
mode = "copy";
gitignore = true;
};
};
testJson = {
output = "test.json";
data.hello = "world";
opts.format = "json";
hook = {
mode = "copy";
gitignore = true;
};
};
};
}).config