Lints and suggestions for the Nix programming language
1{
2 partitions.dev.module = devPartition: {
3 imports = [ devPartition.inputs.git-hooks.flakeModule ];
4
5 gitignore = [
6 "/.pre-commit-config.yaml"
7 ];
8
9 perSystem =
10 { config, ... }:
11 {
12 make-shells.default.shellHook = config.pre-commit.installationScript;
13 pre-commit.check.enable = false;
14 treefmt.settings.global.excludes = [ ".pre-commit-config.yaml" ];
15 };
16
17 };
18}