nixpkgs recently landed treefmt.withConfig. It's difficult to explain to people when they should use treefmt.withConfig vs treefmt-nix.
For example, see this difficult-to-write nix.dev doc on autoformatting, this revert of that doc, and this conversation.
I think we could address this confusion by upstreaming treefmt-nix to nixpkgs. When we do so, we could either re-implement it with treefmt.withConfig under the hood, or (my preference) just merge it with treefmt.withConfig.
Thoughts?