format
Format .nix files using nixfmt or the flake's configured formatter. Apply formatting to specific files or all files in a flake.
Instructions
Format .nix files. With paths: nixfmt per file. Without: nix fmt in the flake directory, falling back to nixfmt on all .nix files when the flake defines no formatter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| flake_uri | No | ||
| mode | No | nixos |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||