soonix/nix/repo/soonix.nix

56 lines
1.2 KiB
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;
2025-12-18 09:02:46 +01:00
renovate = {
output = ".gitlab/renovate.json5";
data = {
extends = ["config:recommended"];
postUpgradeTasks.commands = [
"nix-portable nix run .#soonix -- update --skip-gitignore"
2025-12-18 09:02:46 +01:00
];
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