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