Bruno BELANYI
c117d1caed
All checks were successful
ci/woodpecker/push/check Pipeline was successful
30 lines
457 B
Nix
30 lines
457 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.pre-commit-hooks.flakeModule
|
|
];
|
|
|
|
perSystem = { ... }: {
|
|
pre-commit = {
|
|
# Add itself to `nix flake check`
|
|
check.enable = true;
|
|
|
|
settings = {
|
|
hooks = {
|
|
deadnix = {
|
|
enable = true;
|
|
};
|
|
|
|
nixpkgs-fmt = {
|
|
enable = true;
|
|
};
|
|
|
|
shellcheck = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|