build: dendritic flake, devShell and crate skeleton

This commit is contained in:
elwrcl committed 2026-09-29 23:24:36 +03:00
1 parent fbdc8da28f
commit d69049d97c
10 files changed
+1587

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{ ... }:
{
perSystem =
{ pkgs, ... }:
{
formatter = pkgs.writeShellApplication {
name = "nixfmt-tree";
runtimeInputs = [
pkgs.nixfmt
pkgs.fd
pkgs.findutils
];
text = ''
if [ "$#" -eq 0 ]; then
set -- .
fi
fd --type f --extension nix --hidden --exclude .jj . "$@" \
| xargs -r nixfmt
'';
};
};
}