refactor: slim flake.nix into nix/ entry files

This commit is contained in:
müde 2026-07-13 20:55:43 +02:00
commit 4f8bb6ded2
10 changed files with 470 additions and 416 deletions

11
nix/treefmt.nix Normal file
View file

@ -0,0 +1,11 @@
# treefmt-nix module — shared by `nix fmt` (the flake `formatter`
# output) and the `formatting` flake check.
{
projectRootFile = "flake.nix";
programs = {
keep-sorted.enable = true;
nixfmt.enable = true;
rustfmt.enable = true;
taplo.enable = true;
};
}