os/shell/hooks/default.nix

6 lines
101 B
Nix

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