Files
nix-files/hosts/common/programs/nix-index.nix
2024-09-11 19:20:13 +00:00

14 lines
279 B
Nix

{ ... }:
{
# provides `nix-locate`, backed by the manually run `nix-index`
sane.programs.nix-index = {
sandbox.method = "bunpen";
sandbox.net = "clearnet";
sandbox.extraPaths = [
"/nix"
];
persist.byStore.plaintext = [ ".cache/nix-index" ];
};
}