1{ inputs, ... }:
2{
3 imports = [ inputs.git-hooks.flakeModule ];
4
5 perSystem =
6 { config, ... }:
7 {
8 pre-commit.settings.hooks = {
9 treefmt = {
10 enable = true;
11 package = config.formatter;
12 };
13 pre-commit-hook-ensure-sops.enable = true;
14 ripsecrets.enable = true;
15 };
16 };
17}