nixos: initial bitmap font support
This commit is contained in:
		
							parent
							
								
									3cb560dfe1
								
							
						
					
					
						commit
						3f11846977
					
				
					 10 changed files with 118 additions and 22 deletions
				
			
		
							
								
								
									
										42
									
								
								modules/nixos/workstation/themes/hozen.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								modules/nixos/workstation/themes/hozen.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | |||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   hozen, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib) mkIf; | ||||
|   inherit (config.ooknet.workstation) theme; | ||||
|   generatedWallpaper = import ./generated-wallpaper.nix {inherit hozen config pkgs;} {}; | ||||
| in { | ||||
|   config = mkIf (theme == "hozen") { | ||||
|     ooknet.appearance = { | ||||
|       fonts = { | ||||
|         monospace = { | ||||
|           family = "CozetteHiDpi"; | ||||
|           package = pkgs.cozette; | ||||
|           size = 22; | ||||
|           fallback = { | ||||
|             family = "JetBrainsMono Nerd Font"; | ||||
|             package = pkgs.nerfonts.override {fonts = ["JetBrainsMono"];}; | ||||
|             size = 18; | ||||
|           }; | ||||
|         }; | ||||
|         regular = { | ||||
|           family = "Fira Sans"; | ||||
|           package = pkgs.fira; | ||||
|         }; | ||||
|       }; | ||||
| 
 | ||||
|       cursor = { | ||||
|         name = "Bibata-Modern-Ice"; | ||||
|         package = pkgs.bibata-cursors; | ||||
|         size = 22; | ||||
|       }; | ||||
| 
 | ||||
|       wallpaper = { | ||||
|         path = "${generatedWallpaper}"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue