Git config-based hooks with hk-nix

hk is a fast, modern git hook manager and project linter configured in Pkl . hk-nix is to hk what lefthook-nix is to lefthook: you install hk with Nixpkgs, declare your hooks in Nix, pin every tool with Nix, and the hooks install themselves whenever you enter the devshell . It is the same stack I previously built with lefthook , with a nicer configuration language and one fewer workaround.…