Remove command-not-found in favor of nix-index integration)

This commit is contained in:
ItsDrike 2024-04-16 12:02:24 +02:00
parent 2cd16c9b78
commit 76a8640246
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -4,12 +4,9 @@
# 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;
};
# Allows interactive shells to show which Nix package (if any)
# provides a missing command.
command-not-found.enable = true;
};
}