19 lines
376 B
Nix
19 lines
376 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (inputs) pre-commit-hooks-nix;
|
|
in
|
|
pre-commit-hooks-nix.lib.${pkgs.system}.run {
|
|
src = ../..;
|
|
hooks = {
|
|
pre-commit-hook-ensure-sops.enable = true;
|
|
treefmt = {
|
|
enable = true;
|
|
settings.fail-on-change = false;
|
|
packageOverrides.treefmt = inputs.treefmt-nix.lib.mkWrapper pkgs ../../treefmt.nix;
|
|
};
|
|
};
|
|
} |