ripgrep: move options out of assorted.nix into its own file
This commit is contained in:
parent
0454abacd9
commit
d3f7a036ce
|
@ -305,11 +305,6 @@ in
|
|||
requests
|
||||
]);
|
||||
|
||||
ripgrep.sandbox.method = "landlock";
|
||||
ripgrep.sandbox.wrapperType = "wrappedDerivation"; # slow to build
|
||||
ripgrep.sandbox.autodetectCliPaths = true;
|
||||
ripgrep.sandbox.whitelistPwd = true;
|
||||
|
||||
rsync.sandbox.method = "bwrap"; # TODO:sandbox: untested
|
||||
rsync.sandbox.autodetectCliPaths = true;
|
||||
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
{ ... }:
|
||||
{
|
||||
# .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.
|
||||
sane.programs.ripgrep.fs.".ignore".symlink.text = ''
|
||||
po/
|
||||
'';
|
||||
sane.programs.ripgrep = {
|
||||
sandbox.method = "landlock";
|
||||
sandbox.wrapperType = "wrappedDerivation"; # slow to build
|
||||
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/
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user