chore: initial commit

This commit is contained in:
technofab 2025-09-17 11:59:53 +02:00
commit db488d8f41
No known key found for this signature in database
26 changed files with 1077 additions and 0 deletions

60
nix/repo/devShells.nix Normal file
View file

@ -0,0 +1,60 @@
{
inputs,
cell,
...
}: let
inherit (inputs) self pkgs devshell soonix treefmt;
inherit (cell) ci;
treefmtWrapper = treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
mdformat.enable = true;
};
};
in {
default = devshell.mkShell {
imports = [
"${self}/lib/modules"
soonix.devshellModule
];
soonix.hooks.ci = ci.soonix;
packages = [
pkgs.hello
treefmtWrapper
];
task = {
alias = ",";
tasks = {
"hello" = {
cmd = "echo world!";
};
};
};
lefthook.config = {
skip_output = ["meta" "execution_out"];
"pre-commit" = {
parallel = true;
jobs = [
{
name = "treefmt";
stage_fixed = true;
run = "${treefmtWrapper}/bin/treefmt";
}
];
};
};
cocogitto.config.changelog = {
path = "CHANGELOG.md";
template = "remote";
remote = "gitlab.com";
repository = "devtools";
owner = "rensa-nix";
};
};
}