275 current 2024-12-05 03:59:12 24.11.20241203.b681065 6.12.1 *
This commit is contained in:
parent
edc26b9646
commit
5f1728a0db
3 changed files with 26 additions and 16 deletions
|
@ -1,11 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
# disable default command not found feature
|
||||
programs.command-not-found.enable = false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-index
|
||||
];
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
# for home-manager, use programs.bash.initExtra instead
|
||||
programs.bash.interactiveShellInit = ''
|
||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||
'';
|
||||
#programs.bash.interactiveShellInit = ''
|
||||
# source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||
#'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue