chore: add treefmt

This commit is contained in:
technofab 2025-08-28 09:06:24 +02:00
parent 2e25d42c85
commit 1246175082
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
4 changed files with 41 additions and 9 deletions

View file

@ -1,11 +1,21 @@
{inputs, ...}: let
inherit (inputs) pkgs devshell soonix;
{
cell,
inputs,
...
}: let
inherit (inputs) pkgs devshell soonix treefmt;
in {
default = devshell.mkShell {
imports = [soonix.devshellModule];
packages = [
pkgs.alejandra
pkgs.nil
(treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
mdformat.enable = true;
};
})
];
soonix.hooks.test = {