chore: add treefmt

This commit is contained in:
technofab 2025-08-28 10:35:06 +02:00
parent b0eaa25b77
commit 9c1a29fa9b
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
3 changed files with 33 additions and 3 deletions

View file

@ -1,8 +1,16 @@
{inputs, ...}: let
inherit (inputs) pkgs dslib;
inherit (inputs) pkgs dslib treefmt;
in {
default = dslib.mkShell {
packages = [pkgs.alejandra];
packages = [
(treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
mdformat.enable = true;
};
settings.global.excludes = ["*LICENSE*.md"];
})
];
enterShellCommands."ren".text = "echo Hello rensa!";
};
}