18 lines
248 B
Nix
18 lines
248 B
Nix
|
{ self, pre-commit-hooks, ... }:
|
||
|
system:
|
||
|
{
|
||
|
pre-commit = pre-commit-hooks.lib.${system}.run {
|
||
|
src = self;
|
||
|
|
||
|
hooks = {
|
||
|
nixpkgs-fmt = {
|
||
|
enable = true;
|
||
|
};
|
||
|
|
||
|
shellcheck = {
|
||
|
enable = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|