14 lines
291 B
Nix
14 lines
291 B
Nix
{ config, lib, ... }:
|
|
{
|
|
# provides `nix-locate`, backed by the manually run `nix-index`
|
|
sane.programs.nix-index = {
|
|
sandbox.method = "bwrap";
|
|
sandbox.net = "clearnet";
|
|
sandbox.extraPaths = [
|
|
"/nix"
|
|
];
|
|
|
|
persist.byStore.plaintext = [ ".cache/nix-index" ];
|
|
};
|
|
}
|