cached gitleaks

This commit is contained in:
Your Name 2024-05-05 03:29:43 +03:00
parent e710ac5180
commit 18cbef8b2c
2 changed files with 8 additions and 1 deletions

2
.envrc
View file

@ -1 +1 @@
use flake
use nix

7
shell.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
name = "delta";
packages = with pkgs; [ gitleaks pre-commit ];
shellHook = "pre-commit install &> /dev/null && gitleaks detect -v";
}