vcs+rg: fix ignore globs

This commit is contained in:
Daniel Lundin 2024-11-27 14:04:13 +01:00
parent 71660705f0
commit a7aa9c7a72
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 11 additions and 5 deletions

View file

@ -53,10 +53,13 @@
ripgrep = { ripgrep = {
enable = true; enable = true;
arguments = [ arguments = [
"--glob=!.git/*" "--glob=!**/.cache/*"
"--glob=!.jj/*" "--glob=!**/.direnv/*"
"--glob=!result/*" "--glob=!**/.git/*"
"--glob=!target/*" "--glob=!**/.jj/*"
"--glob=!**/{node_modules,.npm,dist}/*"
"--glob=!**/target/*"
"--glob=!**/result/*"
]; ];
}; };

View file

@ -116,9 +116,12 @@
"*.so" "*.so"
"*.swp" "*.swp"
".direnv" ".direnv"
".env"
".idea" ".idea"
".nixos-test-history"
".null-ls_*" ".null-ls_*"
"result" "/result*"
"/target"
]; ];
signing = { signing = {