move kitty to apps instead of cli-apps
This commit is contained in:
		
							parent
							
								
									48352469f2
								
							
						
					
					
						commit
						ba768687ae
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		|  | @ -8,9 +8,8 @@ | ||||||
| }: | }: | ||||||
| with lib.wyrdgard; { | with lib.wyrdgard; { | ||||||
|   wyrdgard = { |   wyrdgard = { | ||||||
|     apps.cli-apps = { |     apps = { | ||||||
|       kitty = enabled; |       kitty = enabled; | ||||||
|       home-manager = enabled; |  | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     tools = { |     tools = { | ||||||
|  |  | ||||||
|  | @ -2,14 +2,15 @@ | ||||||
|   lib, |   lib, | ||||||
|   config, |   config, | ||||||
|   ... |   ... | ||||||
| }: let | }:  | ||||||
|   inherit (lib) mkEnableOption mkIf; | with lib; | ||||||
|   inherit (lib.wyrdgard) enabled; | with lib.wyrdgard; | ||||||
|  | let | ||||||
| 
 | 
 | ||||||
|   cfg = config.wyrdgard.apps.cli-apps.home-manager; |   cfg = config.wyrdgard.apps.cli-apps.home-manager; | ||||||
| in { | in { | ||||||
|   options.wyrdgard.apps.cli-apps.home-manager = { |   options.wyrdgard.apps.cli-apps.home-manager = { | ||||||
|     enable = mkEnableOption "home-manager"; |     enable = mkBoolOpt true "Enable home-manager"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|  |  | ||||||
|  | @ -6,9 +6,9 @@ | ||||||
| }: | }: | ||||||
| with lib; | with lib; | ||||||
| with lib.wyrdgard; let | with lib.wyrdgard; let | ||||||
|   cfg = config.wyrdgard.apps.cli-apps.kitty; |   cfg = config.wyrdgard.apps.kitty; | ||||||
| in { | in { | ||||||
|   options.wyrdgard.apps.cli-apps.kitty = { |   options.wyrdgard.apps.kitty = { | ||||||
|     enable = mkEnableOption "Kity"; |     enable = mkEnableOption "Kity"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue