nixos-config/.githooks/pre-commit

3 lines
49 B
Plaintext
Executable file

nix fmt
git add $(git diff --name-only --cached)