This project's goal is to provide a nix code formatter that would be applied on nixpkgs. Ideally automatically with a tool like ofborg.


This project is written in Rust and made available to the browser by compiling it to WASM. This will require a modern web browser (Firefox, Safari or Chrome).

Try the formatter out by pasting your Nix code in the left pane or using the file selector.

nixpkgs-fmt is still under heavy development. Formatting issues should happen quite often at this point.


Not liking the result?