feat: added alacritty
This commit is contained in:
		
					parent
					
						
							
								864ace160a
							
						
					
				
			
			
				commit
				
					
						d5d93ceec3
					
				
			
		
					 7 changed files with 80 additions and 2 deletions
				
			
		modules
							
								
								
									
										53
									
								
								modules/applications/alacritty.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								modules/applications/alacritty.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,53 @@ | ||||||
|  | { ... }: { | ||||||
|  |   home-manager.users.adrielus.programs.alacritty = { | ||||||
|  |     enable = true; | ||||||
|  | 
 | ||||||
|  |     settings = { | ||||||
|  |       window = { | ||||||
|  |         padding = { | ||||||
|  |           x = 4; | ||||||
|  |           y = 8; | ||||||
|  |         }; | ||||||
|  | 
 | ||||||
|  |         gtk_theme_variant = "dark"; | ||||||
|  |       }; | ||||||
|  | 
 | ||||||
|  |       fonts.normal.family = "Source Code Pro"; | ||||||
|  | 
 | ||||||
|  |       colors = { | ||||||
|  |         cursor = { | ||||||
|  |           text = "#1460d2"; | ||||||
|  |           cursor = "#f0cc09"; | ||||||
|  |         }; | ||||||
|  |         selection = { | ||||||
|  |           text = "#b5b5b5"; | ||||||
|  |           background = "#18354f"; | ||||||
|  |         }; | ||||||
|  |         primary = { | ||||||
|  |           background = "#132738"; | ||||||
|  |           foreground = "#ffffff"; | ||||||
|  |         }; | ||||||
|  |         normal = { | ||||||
|  |           black = "#000000"; | ||||||
|  |           red = "#ff0000"; | ||||||
|  |           green = "#38de21"; | ||||||
|  |           yellow = "#ffe50a"; | ||||||
|  |           blue = "#1460d2"; | ||||||
|  |           magenta = "#ff005d"; | ||||||
|  |           cyan = "#00bbbb"; | ||||||
|  |           white = "#bbbbbb"; | ||||||
|  |         }; | ||||||
|  |         bright = { | ||||||
|  |           black = "#555555"; | ||||||
|  |           red = "#f40e17"; | ||||||
|  |           green = "#3bd01d"; | ||||||
|  |           yellow = "#edc809"; | ||||||
|  |           blue = "#5555ff"; | ||||||
|  |           magenta = "#ff55ff"; | ||||||
|  |           cyan = "#6ae3fa"; | ||||||
|  |           white = "#ffffff"; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
|  | @ -1,3 +1,12 @@ | ||||||
| { ... }: { | { ... }: { | ||||||
|   imports = [ ./misc.nix ./locale.nix ./git ./shells ./wakatime ./memes.nix ]; |   imports = [ | ||||||
|  |     ./git | ||||||
|  |     ./shells | ||||||
|  |     ./wakatime | ||||||
|  | 
 | ||||||
|  |     ./misc.nix | ||||||
|  |     ./locale.nix | ||||||
|  |     ./memes.nix | ||||||
|  |     ./alacritty.nix | ||||||
|  |   ]; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
|     exa # ls replacement |     exa # ls replacement | ||||||
|     mkpasswd # hash passwords |     mkpasswd # hash passwords | ||||||
|     gnupg |     gnupg | ||||||
|  |     typespeed | ||||||
| 
 | 
 | ||||||
|     # editors |     # editors | ||||||
|     vscodium |     vscodium | ||||||
|  | @ -13,8 +14,11 @@ | ||||||
|     discord |     discord | ||||||
|     slack |     slack | ||||||
| 
 | 
 | ||||||
|     # gui studf |     # browsers | ||||||
|     google-chrome |     google-chrome | ||||||
|  |     brave | ||||||
|  | 
 | ||||||
|  |     # other stuff | ||||||
|     spectacle # take screenshots |     spectacle # take screenshots | ||||||
|     unstable.elementary-planner # project planner |     unstable.elementary-planner # project planner | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
|  | @ -2,6 +2,8 @@ | ||||||
|   imports = [ |   imports = [ | ||||||
|     ./dev |     ./dev | ||||||
|     ./applications |     ./applications | ||||||
|  |     ./theme | ||||||
|  | 
 | ||||||
|     ./network.nix |     ./network.nix | ||||||
|     ./xserver.nix |     ./xserver.nix | ||||||
|     ./users.nix |     ./users.nix | ||||||
|  |  | ||||||
|  | @ -12,6 +12,8 @@ in { | ||||||
|         cached-nix-shell = callPackage imports.cached-nix-shell { }; |         cached-nix-shell = callPackage imports.cached-nix-shell { }; | ||||||
|         easy-purescript-nix = callPackage imports.easy-purescript-nix { }; |         easy-purescript-nix = callPackage imports.easy-purescript-nix { }; | ||||||
| 
 | 
 | ||||||
|  |         brave = unstable.brave; | ||||||
|  | 
 | ||||||
|         inherit (import imports.niv { }) niv; |         inherit (import imports.niv { }) niv; | ||||||
|         inherit (import imports.all-hies { }) all-hies; |         inherit (import imports.all-hies { }) all-hies; | ||||||
|       }) |       }) | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								modules/theme/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								modules/theme/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | { ... }: { imports = [ ./fonts.nix ]; } | ||||||
							
								
								
									
										7
									
								
								modules/theme/fonts.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								modules/theme/fonts.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | { pkgs, ... }: { | ||||||
|  |   home-manager.users.adrielus.home.packages = with pkgs; [ | ||||||
|  |     fira-code | ||||||
|  |     fira-code-symbols | ||||||
|  |     source-code-pro | ||||||
|  |   ]; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matei Adriel
				Matei Adriel