21 lines
543 B
Nix
21 lines
543 B
Nix
{ ... }:
|
|
{
|
|
sane.programs.ripgrep = {
|
|
sandbox.method = "bwrap";
|
|
sandbox.autodetectCliPaths = "existing";
|
|
sandbox.whitelistPwd = true;
|
|
sandbox.extraHomePaths = [
|
|
# let it follow symlinks to non-sensitive data
|
|
".persist/ephemeral"
|
|
".persist/plaintext"
|
|
];
|
|
|
|
# .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/
|
|
'';
|
|
};
|
|
}
|