nix-configs/lefthook.yml
2022-04-12 01:45:48 +02:00

6 lines
141 B
YAML

pre-commit:
parallel: false
commands:
01_nixfmt:
glob: "*.nix"
run: nixpkgs-fmt {staged_files} && git add {staged_files}