Discover Nix files
When run without any arguments and STDIN is a TTY, nixfmt should behave like nixfmt ., and discover all .nix files recursively.
We are currently a bit undecided where Nixfmt should have any of these features at all, see #151. But if we decide in favor, then this is something we'd likely want as well. I also agree that either way the current behavior is not a good UX
In #151 we decided to not further support this directory functionality in the future. We'll keep that issue open for now though.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/formatting-team-meeting-2024-04-02/42658/1