My nixos configuration
1pre-commit:
2 parallel: true
3 commands:
4 formatting:
5 glob: "*.nix"
6 run: nix fmt -- --check {staged_files}
7
8 linting:
9 glob: "*.nix"
10 run: nix run --inputs-from . nixpkgs#statix -- check
11
12statix:
13 parallel: false
14 commands:
15 statix:
16 glob: "*.nix"
17 run: statix check -i packages/nodePackages/node-env.nix