diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-11-17 04:19:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 04:19:53 +0100 |
commit | 4c138f6bd65228d2a1f11d53079d0c110fcb90d3 (patch) | |
tree | 2ed8a2589e2fe12641e074d9c8bd57f95d078be1 | |
parent | 087657bbf0a1335627aaa56c376cd149d8e97b11 (diff) |
nixos/locate: exclude by default version control systems and .cache
follows Debian and Ubuntu
-rw-r--r-- | nixos/modules/misc/locate.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index 2f2986c2fec5a..81e7acd653ddd 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 ''; |