mirror of
				https://github.com/ItsDrike/nixdots
				synced 2025-11-04 00:26:36 +00:00 
			
		
		
		
	Remove command-not-found in favor of nix-index integration)
This commit is contained in:
		
							parent
							
								
									2cd16c9b78
								
							
						
					
					
						commit
						76a8640246
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue