pre-commit hook edit + fix typo

This commit is contained in:
Your Name 2024-03-23 05:54:04 +03:00
parent 4fc15d34f1
commit 46b89aedf8
2 changed files with 2 additions and 5 deletions

View file

@ -28,10 +28,7 @@
devShells."x86_64-linux".default = pkgs.mkShell { devShells."x86_64-linux".default = pkgs.mkShell {
name = "delta"; name = "delta";
packages = with pkgs; [ gitleaks pre-commit ]; packages = with pkgs; [ gitleaks pre-commit ];
shellHook = '' shellHook = ''pre-commit install &> /dev/null && gitleaks detect -v'';
gitleaks detect -v
pre-commit install &> /dev/null
'';
}; };
nixosConfigurations.dlaptop = nixpkgs.lib.nixosSystem { nixosConfigurations.dlaptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -141,7 +141,7 @@
freetype freetype
poppler poppler
f3d f3d
nufraw-thumbnail nufraw-thumbnailer
android-tools android-tools
firefox firefox