programs: nix-index: sandbox

This commit is contained in:
Colin 2024-02-16 11:39:05 +00:00
parent a9d384688a
commit cd3b4dde7b

View File

@ -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" ];
};
}