From 4c138f6bd65228d2a1f11d53079d0c110fcb90d3 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 17 Nov 2021 04:19:53 +0100 Subject: [PATCH] nixos/locate: exclude by default version control systems and .cache follows Debian and Ubuntu --- nixos/modules/misc/locate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index 2f2986c2fec..81e7acd653d 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 '';