# nixpkgs-fmt

[**nixpkgs-fmt**](https://github.com/nix-community/nixpkgs-fmt) is a linter for Nix.

You can enable the nixpkgs-fmt linter with:

```shell
trunk check enable nixpkgs-fmt
```

## Auto Enabling

nixpkgs-fmt will be auto-enabled if any *Nix* files are present.

## Links

* [nixpkgs-fmt site](https://github.com/nix-community/nixpkgs-fmt)
* nixpkgs-fmt Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/nixpkgs-fmt)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
