lohr/.pre-commit-config.yaml
Bruno BELANYI 22232267e3 nix: add 'nixpkgs-fmt' pre-commit hook
You must run `pre-commit install` for them them to take effect.
2021-03-29 19:43:41 +00:00

11 lines
219 B
YAML

repos:
- repo: 'local'
hooks:
- id: 'nixpkgs-fmt'
name: 'nixpkgs-fmt'
description: 'Format nix code with nixpkgs-fmt'
entry: 'nixpkgs-fmt'
language: 'system'
files: '\.nix$'
always_run: true