diff --git a/.gitignore b/.gitignore index 5b3a622e..0e15abe8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.direnv/ +/.pre-commit-config.yaml result result-* diff --git a/flake.nix b/flake.nix index 66e1ee1a..4f31fc04 100644 --- a/flake.nix +++ b/flake.nix @@ -106,7 +106,12 @@ }; devShells.default = pkgs.mkShell { - packages = [ inputs.home-manager.packages.${system}.default ]; + inherit (self.checks.${system}.git-hooks) shellHook; + + packages = [ + inputs.home-manager.packages.${system}.default + self.checks.${system}.git-hooks.enabledPackages + ]; }; packages = let