dots/.pre-commit-config.yaml
Gene Liverman f830613ded
Add pre-commit hooks for nixfmt, deadnix, and statix
Also, exclude .pre-commit-config.yaml from SOPS processing
2026-03-14 01:21:41 -04:00

18 lines
342 B
YAML

repos:
- repo: local
hooks:
- id: nixfmt
name: nixfmt
entry: nixfmt
language: system
types: [nix]
pass_filenames: false
args: ["."]
- id: deadnix
name: deadnix
entry: deadnix
language: system
types: [nix]
args: ["./modules", "./lib"]