nixos/locate: exclude by default version control systems and .cache
follows Debian and Ubuntu
This commit is contained in:
parent
087657bbf0
commit
4c138f6bd6
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user