os/shell/hooks/default.nix

7 lines
101 B
Nix

{
git.hooks = {
enable = true;
pre-commit.text = builtins.readFile ./pre-commit.sh;
};
}