ripgrep: move options out of assorted.nix into its own file
This commit is contained in:
@@ -305,11 +305,6 @@ in
|
|||||||
requests
|
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.method = "bwrap"; # TODO:sandbox: untested
|
||||||
rsync.sandbox.autodetectCliPaths = true;
|
rsync.sandbox.autodetectCliPaths = true;
|
||||||
|
|
||||||
|
@@ -1,9 +1,16 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
# .ignore file is read by ripgrep (rg), silver searcher (ag), maybe others.
|
sane.programs.ripgrep = {
|
||||||
# ignore translation files by default when searching, as they tend to have
|
sandbox.method = "landlock";
|
||||||
# a LOT of duplicate text.
|
sandbox.wrapperType = "wrappedDerivation"; # slow to build
|
||||||
sane.programs.ripgrep.fs.".ignore".symlink.text = ''
|
sandbox.autodetectCliPaths = true;
|
||||||
po/
|
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/
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user