mirror of
https://gitlab.com/rensa-nix/devtools.git
synced 2026-02-02 15:25:07 +01:00
chore: add renovate and update repo flake
This commit is contained in:
parent
0ce18964f5
commit
a4295c3cdb
8 changed files with 90 additions and 26 deletions
36
nix/repo/soonix.nix
Normal file
36
nix/repo/soonix.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
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"
|
||||
];
|
||||
updateMode = "branch";
|
||||
};
|
||||
lockFileMaintenance = {
|
||||
enabled = true;
|
||||
extends = ["schedule:monthly"];
|
||||
};
|
||||
nix.enabled = true;
|
||||
gitlabci.enabled = false;
|
||||
};
|
||||
hook = {
|
||||
mode = "copy";
|
||||
gitignore = false;
|
||||
};
|
||||
opts.format = "json";
|
||||
};
|
||||
};
|
||||
}).config
|
||||
Loading…
Add table
Add a link
Reference in a new issue