mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-02-02 07:15:06 +01:00
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{
|
|
inputs,
|
|
cell,
|
|
...
|
|
}: let
|
|
inherit (inputs) soonix;
|
|
inherit (cell) ci;
|
|
in
|
|
(soonix.make {
|
|
hooks = {
|
|
ci = ci.soonix;
|
|
renovate = {
|
|
output = ".gitlab/renovate.json5";
|
|
data = {
|
|
extends = ["config:recommended"];
|
|
postUpgradeTasks.commands = [
|
|
"nix-portable nix run .#soonix -- update --skip-gitignore"
|
|
];
|
|
lockFileMaintenance = {
|
|
enabled = true;
|
|
extends = ["schedule:monthly"];
|
|
};
|
|
nix.enabled = true;
|
|
gitlabci.enabled = false;
|
|
};
|
|
hook = {
|
|
mode = "copy";
|
|
gitignore = false;
|
|
};
|
|
opts.format = "json";
|
|
};
|
|
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
|