FICHA · AUR

nixfmt

Official formatter for Nix code

  • formatter
  • CLI
  • EDITOR-INTEGRATION
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 2, 2026 description in en

Description

Source files written in Nix can be reformatted into the official style, making package expressions and flakes easier to read and review. It is useful for developers who want consistent formatting across projects.

Use it from a terminal or through editor integration. Because it rewrites formatting, run it on files tracked by version control when possible.

How to run

nixfmt

Commands: nixfmt

Permissions

Permissions not analysed for this source yet.