mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 06:29:41 +00:00
Remove command-not-found in favor of nix-index integration)
This commit is contained in:
parent
2cd16c9b78
commit
76a8640246
|
@ -4,12 +4,9 @@
|
||||||
# this provides `nix-locate` command.
|
# this provides `nix-locate` command.
|
||||||
nix-index = {
|
nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# Attempt to find the package that contains the non-existent command
|
||||||
enableBashIntegration = config.programs.bash.enable;
|
enableBashIntegration = config.programs.bash.enable;
|
||||||
enableZshIntegration = config.programs.zsh.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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue