2023-05-08 21:41:02 +00:00
|
|
|
{ ... }:
|
2023-02-22 21:08:34 +00:00
|
|
|
{
|
2024-01-29 12:57:56 +00:00
|
|
|
sane.programs.ripgrep = {
|
2024-02-20 23:32:54 +00:00
|
|
|
sandbox.method = "bwrap";
|
2024-05-28 07:14:27 +00:00
|
|
|
sandbox.autodetectCliPaths = "existing";
|
2024-01-29 12:57:56 +00:00
|
|
|
sandbox.whitelistPwd = true;
|
2024-02-23 06:43:27 +00:00
|
|
|
sandbox.extraHomePaths = [
|
|
|
|
# let it follow symlinks to non-sensitive data
|
|
|
|
".persist/ephemeral"
|
|
|
|
".persist/plaintext"
|
|
|
|
];
|
2024-01-29 12:57:56 +00:00
|
|
|
|
|
|
|
# .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/
|
|
|
|
'';
|
|
|
|
};
|
2023-02-22 21:08:34 +00:00
|
|
|
}
|