feat(home:bat): add additional bat scripts
This commit is contained in:
		
							parent
							
								
									546ee5f965
								
							
						
					
					
						commit
						970bfee826
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
{ lib, config, ... }:
 | 
			
		||||
{ lib, config, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  inherit (lib) mkIf;
 | 
			
		||||
| 
						 | 
				
			
			@ -9,9 +9,14 @@ in
 | 
			
		|||
  config = mkIf cfg.enable {
 | 
			
		||||
    programs.bat = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      extraPackages = with pkgs.bat-extras; [
 | 
			
		||||
        batgrep
 | 
			
		||||
        prettybat
 | 
			
		||||
        batwatch
 | 
			
		||||
        batman
 | 
			
		||||
      ];
 | 
			
		||||
      config = {
 | 
			
		||||
        theme = "base16";
 | 
			
		||||
        pager = "less -FR";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue