feat: switch to nixfmt and add pre-commit hook

This commit is contained in:
2026-02-20 18:00:58 +01:00
parent 3dd048ebe3
commit fb515d205b
3 changed files with 24 additions and 11 deletions

6
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/nixos/nixfmt
rev: v1.2.0
hooks:
- id: nixfmt-nix
args: [--, --check]