chore: update nixmkdocs, add treefmt

This commit is contained in:
technofab 2025-09-15 10:53:39 +02:00
parent 9cb2d2bef6
commit 266080b197
No known key found for this signature in database
4 changed files with 45 additions and 36 deletions

View file

@ -1,9 +1,17 @@
{inputs, ...}: let
inherit (inputs) pkgs devshell;
inherit (inputs) pkgs devshell treefmt;
in {
default = devshell.mkShell {
packages = [
pkgs.alejandra
pkgs.nil
(treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
statix.enable = true;
deadnix.enable = true;
mdformat.enable = true;
};
})
];
env."HELLO".value = "world!";
enterShellCommands.test = {