maint: Move treefmt to dev partition

Moves treefmt-nix input and configuration from the main flake to the
dev partition, since it's a development-only dependency. Also switches
pre-commit hooks from individual formatter hooks to the unified treefmt
hook for better consistency.
This commit is contained in:
Robert Hensing 2025-12-06 12:04:26 +01:00
parent cfda626614
commit 4a1889fb0c
5 changed files with 24 additions and 105 deletions

View file

@ -4,6 +4,8 @@
pre-commit-hooks-nix.url = "github:cachix/pre-commit-hooks.nix";
pre-commit-hooks-nix.inputs.nixpkgs.follows = "";
hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "";
};
outputs = { ... }: { };
}