{ self, flake-utils, git-hooks, ... }: flake-utils.lib.eachDefaultSystem (system: { checks.pre-commit-check = git-hooks.lib.${system}.run { src = self; hooks.treefmt = { enable = true; package = self.packages.${system}.formatter; }; }; })