programs.git.hooks

Configuration helper for Git hooks. See https://git-scm.com/docs/githooks for reference.

Type
attribute set of absolute path
Default
{ }
Example
{
  pre-commit = ./pre-commit-script;
}
Declared
<home-manager/modules/programs/git.nix>