about summary refs log tree commit diff
path: root/nixos/modules/misc/locate.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-18 21:02:37 +0100
committerGitHub <noreply@github.com>2021-11-18 21:02:37 +0100
commitd09e223320f4ad7984566c8b217485fb0d7550d6 (patch)
treee1dc56ff80a84fdb872b2d6adab88d81bdbcfb27 /nixos/modules/misc/locate.nix
parent410bafefdeb12c7cf85e96a597406c7993f5359d (diff)
parent4c138f6bd65228d2a1f11d53079d0c110fcb90d3 (diff)
Merge pull request #146344 from SuperSandro2000/locate-prune-names
Diffstat (limited to 'nixos/modules/misc/locate.nix')
-rw-r--r--nixos/modules/misc/locate.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix
index 5561b5e126c02..3638bebed931b 100644
--- a/nixos/modules/misc/locate.nix
+++ b/nixos/modules/misc/locate.nix
@@ -157,7 +157,7 @@ in {
 
     pruneNames = mkOption {
       type = listOf str;
-      default = [];
+      default = [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
       description = ''
         Directory components which should exclude paths containing them from indexing
       '';