wip(home): refactor home modules *WILL NOT BUILD*
This commit is contained in:
		
							parent
							
								
									2033810429
								
							
						
					
					
						commit
						6a591ecbf7
					
				
					 115 changed files with 1028 additions and 791 deletions
				
			
		
							
								
								
									
										29
									
								
								home/profiles/themes/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								home/profiles/themes/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| # let | ||||
| #   cfg = config.theme; | ||||
| # in | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ./minimal | ||||
|     ./phone | ||||
|   ]; | ||||
| 
 | ||||
|   options.theme = { | ||||
|     minimal.enable = lib.mkEnableOption "enable minimal theme"; | ||||
|     phone.enable = lib.mkEnableOption "Enable phone theme"; | ||||
|   }; | ||||
| 
 | ||||
|   # config = { | ||||
|   #   assertions = [ | ||||
|   #     { | ||||
|   #       assertion =  | ||||
|   #       (lib.length (lib.filter (x: x) [ | ||||
|   #         cfg.minimal or false | ||||
|   #         cfg.OTHERTHEMEHERE or false | ||||
|   #       ]) <= 1); | ||||
|   #     } | ||||
|   #   ]; | ||||
|   # }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue