nix-da/.pre-commit-config.yaml

20 lines
385 B
YAML

default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
stages: [commit]
- repo: local
hooks:
- id: nixpkgs-fmt
name: Check formatting
entry: nixfmt
language: system
files: .*\.nix$
args: [-c]
stages: [commit]