mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 18:34:35 +00:00
13 lines
367 B
Nix
13 lines
367 B
Nix
{ 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
|
|
enableBashIntegration = config.programs.bash.enable;
|
|
enableZshIntegration = config.programs.zsh.enable;
|
|
};
|
|
};
|
|
}
|