diff --git a/modules/pre-commit.nix b/modules/pre-commit.nix index ab1daab4..88faeb59 100644 --- a/modules/pre-commit.nix +++ b/modules/pre-commit.nix @@ -125,12 +125,14 @@ let description = lib.mdDoc '' if true pre-commit will stop running hooks if this hook fails. ''; + default = false; }; require_serial = mkOption { type = types.bool; description = lib.mdDoc '' if true this hook will execute using a single process instead of in parallel. ''; + default = false; }; stages = mkOption { @@ -160,7 +162,7 @@ let { raw = { - inherit (config) name entry language files stages types types_or pass_filenames verbose always_run; + inherit (config) name entry language files types types_or pass_filenames fail_fast require_serial stages verbose always_run; id = name; exclude = mergeExcludes config.excludes; };