Added Nord theme
This commit is contained in:
		
							parent
							
								
									03be992cb8
								
							
						
					
					
						commit
						eab7a2b5ad
					
				| @ -96,6 +96,7 @@ in | ||||
|     ./themes/oxocarbon.nix | ||||
|     ./themes/papercolor.nix | ||||
|     ./themes/sakura.nix | ||||
|     ./themes/nord.nix | ||||
|   ]; | ||||
| 
 | ||||
|   options.modules.theming.enable = mkEnableOption "theming"; | ||||
|  | ||||
							
								
								
									
										25
									
								
								modules/users/modules/theming/themes/nord.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								modules/users/modules/theming/themes/nord.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| 
 | ||||
| with lib; | ||||
| let | ||||
|   cfg = config.theming.themes.nord; | ||||
|   mode = if cfg.darkMode then "" else "-light"; | ||||
| in | ||||
| { | ||||
|   options = { | ||||
|     theming.themes.nord = { | ||||
|       enable = mkEnableOption "nord"; | ||||
|       darkMode = mkEnableOption "dark mode"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   config.theming = mkIf cfg.enable { | ||||
|     darkMode = cfg.darkMode; | ||||
|     colorScheme = "${pkgs.base16-schemes}/share/themes/nord${mode}.yaml"; | ||||
|   }; | ||||
| } | ||||
| @ -94,11 +94,6 @@ | ||||
|       cpp.enable = true; | ||||
|       tex.enable = true; | ||||
|       jupyter.enable = true; | ||||
|       python.extraPythonPackages = p: [ | ||||
|         p.scikit-learn | ||||
|         p.numpy | ||||
|         p.matplotlib | ||||
|       ]; | ||||
| 
 | ||||
|       # Enable unfree | ||||
|       unfree.enable = true; | ||||
| @ -123,10 +118,14 @@ | ||||
|           darkMode = false; | ||||
|         }; | ||||
|         themes.catppuccin = { | ||||
|           enable = true; | ||||
|           flavor = "mocha"; | ||||
|           enable = false; | ||||
|           flavor = "latte"; | ||||
|         }; | ||||
|         themes.sakura.enable = false; | ||||
|         themes.nord = { | ||||
|           enable = true; | ||||
|           darkMode = true; | ||||
|         }; | ||||
| 
 | ||||
|         # TODO: Remove | ||||
|         # Nice themes: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis