nixfmt is a code formatter for the Nix expression language, aiming to provide consistent and idiomatic formatting for Nix files. It is written in Haskell and designed to be fast, predictable, and fully automatic with zero configuration. nixfmt helps Nix developers maintain readability and code consistency across large codebases, facilitating collaboration and version control workflows.
Features
- Formats Nix code into consistent style
- Requires no configuration or options
- Written in Haskell for speed and correctness
- Supports formatting of large codebases
- Works well in CI and pre-commit hooks
- Provides stable and deterministic output
Categories
Code FormattersLicense
Mozilla Public License 1.0 (MPL)Follow nixfmt
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of nixfmt!