format
Format .nix files using nixfmt or flake's formatter. Specify paths for per-file formatting; otherwise, format the entire project.
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 |
|---|---|---|---|
| mode | No | nixos | |
| paths | No | ||
| flake_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||