refactor(home:options): move modules/options -> ../options
This commit is contained in:
		
							parent
							
								
									1ac90d7985
								
							
						
					
					
						commit
						7755141752
					
				
					 26 changed files with 1 additions and 70 deletions
				
			
		|  | @ -1,25 +0,0 @@ | |||
| { lib, ... }: | ||||
| 
 | ||||
| let | ||||
|   mkFontOption = kind: { | ||||
|     family = lib.mkOption { | ||||
|       type = lib.types.str; | ||||
|       default = ""; | ||||
|       description = "Family name for ${kind} font profile"; | ||||
|       example = "Fira Code"; | ||||
|     }; | ||||
|     package = lib.mkOption { | ||||
|       type = lib.types.package; | ||||
|       default = null; | ||||
|       description = "Package for ${kind} font profile"; | ||||
|       example = "pkgs.fira-code"; | ||||
|     }; | ||||
|   }; | ||||
| in | ||||
| { | ||||
|   options.ooknet.theme.fonts = { | ||||
|     enable = lib.mkEnableOption "Whether to enable font profiles"; | ||||
|     monospace = mkFontOption "monospace"; | ||||
|     regular = mkFontOption "regular"; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue