programs: nix-index: sandbox
This commit is contained in:
@@ -2,6 +2,13 @@
|
|||||||
{
|
{
|
||||||
# provides `nix-locate`, backed by the manually run `nix-index`
|
# provides `nix-locate`, backed by the manually run `nix-index`
|
||||||
sane.programs.nix-index = {
|
sane.programs.nix-index = {
|
||||||
|
sandbox.method = "bwrap";
|
||||||
|
sandbox.wrapperType = "wrappedDerivation";
|
||||||
|
sandbox.net = "clearnet";
|
||||||
|
sandbox.extraPaths = [
|
||||||
|
"/nix"
|
||||||
|
];
|
||||||
|
|
||||||
persist.byStore.plaintext = [ ".cache/nix-index" ];
|
persist.byStore.plaintext = [ ".cache/nix-index" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user