nix-files/hosts/common/programs/ripgrep.nix
2024-02-20 23:32:54 +00:00

17 lines
439 B
Nix

{ ... }:
{
sane.programs.ripgrep = {
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
sandbox.autodetectCliPaths = true;
sandbox.whitelistPwd = true;
# .ignore file is read by ripgrep (rg), silver searcher (ag), maybe others.
# ignore translation files by default when searching, as they tend to have
# a LOT of duplicate text.
fs.".ignore".symlink.text = ''
po/
'';
};
}