nixdots/home/programs/terminal/tools/nix-index.nix

13 lines
367 B
Nix
Raw Permalink Normal View History

2024-04-15 21:10:06 +00:00
{ config, ... }: {
programs = {
# nix-index is a file database for nixpkgs
# this provides `nix-locate` command.
nix-index = {
enable = true;
# Attempt to find the package that contains the non-existent command
2024-04-15 21:10:06 +00:00
enableBashIntegration = config.programs.bash.enable;
enableZshIntegration = config.programs.zsh.enable;
};
};
}