move kitty to apps instead of cli-apps
This commit is contained in:
		
							parent
							
								
									bb7949e608
								
							
						
					
					
						commit
						8f33c7157e
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		|  | @ -2,14 +2,15 @@ | |||
|   lib, | ||||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib) mkEnableOption mkIf; | ||||
|   inherit (lib.wyrdgard) enabled; | ||||
| }:  | ||||
| with lib; | ||||
| with lib.wyrdgard; | ||||
| let | ||||
| 
 | ||||
|   cfg = config.wyrdgard.apps.cli-apps.home-manager; | ||||
| in { | ||||
|   options.wyrdgard.apps.cli-apps.home-manager = { | ||||
|     enable = mkEnableOption "home-manager"; | ||||
|     enable = mkBoolOpt true "Enable home-manager"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|  |  | |||
|  | @ -1,34 +0,0 @@ | |||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| with lib; | ||||
| with lib.wyrdgard; let | ||||
|   cfg = config.wyrdgard.apps.cli-apps.kitty; | ||||
| in { | ||||
|   options.wyrdgard.apps.cli-apps.kitty = { | ||||
|     enable = mkEnableOption "Kity"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     home.packages = with pkgs; [ | ||||
|       kitty | ||||
|     ]; | ||||
| 
 | ||||
|     programs.kitty = { | ||||
|       enable = true; | ||||
|       theme = "Tokyo Night"; | ||||
|       font = { | ||||
|         name = "Code New Roman"; | ||||
|         size = 15; | ||||
|       }; | ||||
|       shellIntegration.enableFishIntegration = true; | ||||
|       settings = { | ||||
|         "background_opacity" = "0.95"; | ||||
|         "shell" = "fish"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue