add alacritty
This commit is contained in:
		
							parent
							
								
									f8361de04a
								
							
						
					
					
						commit
						0efd7a97f4
					
				
					 3 changed files with 23 additions and 1 deletions
				
			
		|  | @ -27,6 +27,7 @@ | ||||||
|     }; |     }; | ||||||
|     tools = { |     tools = { | ||||||
|       direnv.enable = true; |       direnv.enable = true; | ||||||
|  |       alacritty.enable = true; | ||||||
|       # jetbrains.enable = true; |       # jetbrains.enable = true; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  | @ -25,7 +25,6 @@ in | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     home.packages = with pkgs; [ |     home.packages = with pkgs; [ | ||||||
|       bat |  | ||||||
|       vim |       vim | ||||||
|       cachix |       cachix | ||||||
|     ]; |     ]; | ||||||
|  |  | ||||||
							
								
								
									
										22
									
								
								modules/home/tools/alacritty/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								modules/home/tools/alacritty/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | ||||||
|  | { lib | ||||||
|  | , config | ||||||
|  | , pkgs | ||||||
|  | , ... | ||||||
|  | }: | ||||||
|  | let | ||||||
|  |   inherit (lib) mkEnableOption mkIf; | ||||||
|  | 
 | ||||||
|  |   cfg = config.plusultra.tools.alacritty; | ||||||
|  | in | ||||||
|  | { | ||||||
|  |   options.plusultra.tools.alacritty = { | ||||||
|  |     enable = mkEnableOption "alacritty"; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   config = mkIf cfg.enable { | ||||||
|  |     home.packages = with pkgs; [ | ||||||
|  |     alacritty | ||||||
|  |       (pkgs.nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; }) | ||||||
|  |     ]; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue