different-name / nix-files

My NixOS configuration files
GNU General Public License v3.0
3 stars 0 forks source link

Pre commit hook for formatting #13

Closed different-name closed 3 weeks ago

different-name commented 2 months ago

Add a pre commit hook for alejandra to avoid committing unformatted code

different-name commented 2 months ago

flake-parts looks like it has pre-commit-hook functionality, though I am unsure how it works

different-name commented 3 weeks ago

I don't like how pre commit hooks function with vscode, I prefer my current workflow