2023-06-29 21:24:32 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
{
|
|
|
|
# provides `nix-locate`, backed by the manually run `nix-index`
|
|
|
|
sane.programs.nix-index = {
|
2024-02-16 11:39:05 +00:00
|
|
|
sandbox.method = "bwrap";
|
|
|
|
sandbox.net = "clearnet";
|
|
|
|
sandbox.extraPaths = [
|
|
|
|
"/nix"
|
|
|
|
];
|
|
|
|
|
2023-11-08 15:32:50 +00:00
|
|
|
persist.byStore.plaintext = [ ".cache/nix-index" ];
|
2023-06-29 21:24:32 +00:00
|
|
|
};
|
|
|
|
}
|