Add more commit hooks.

This commit is contained in:
CronyAkatsuki 2025-02-23 20:28:36 +01:00
parent dd3f3161f2
commit 6f6b2835fb

View File

@ -5,7 +5,11 @@
}: let }: let
git-check = git-hooks.lib.${pkgs.system}.run { git-check = git-hooks.lib.${pkgs.system}.run {
src = "."; src = ".";
hooks = {alejandra.enable = true;}; hooks = {
alejandra.enable = true;
deadnix.enable = true;
flake-checker.enable = true;
};
}; };
in in
pkgs.mkShell {inherit (git-check) shellHook;} pkgs.mkShell {inherit (git-check) shellHook;}