mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-28 14:44:34 +00:00
16 lines
431 B
Nix
16 lines
431 B
Nix
{ config, ... }: {
|
|
programs = {
|
|
# nix-index is a file database for nixpkgs
|
|
# this provides `nix-locate` command.
|
|
nix-index = {
|
|
enable = true;
|
|
enableBashIntegration = config.programs.bash.enable;
|
|
enableZshIntegration = config.programs.zsh.enable;
|
|
};
|
|
|
|
# Allows interactive shells to show which Nix package (if any)
|
|
# provides a missing command.
|
|
command-not-found.enable = true;
|
|
};
|
|
}
|