chore: fix kitty syntax change
This commit is contained in:
		
							parent
							
								
									842f7e0182
								
							
						
					
					
						commit
						d5847c75d5
					
				
					 1 changed files with 9 additions and 9 deletions
				
			
		|  | @ -1,32 +1,32 @@ | ||||||
| { | { | ||||||
|   lib, |  | ||||||
|   config, |   config, | ||||||
|  |   lib, | ||||||
|  |   namespace, | ||||||
|   pkgs, |   pkgs, | ||||||
|   ... |   ... | ||||||
| }: | }: | ||||||
| with lib; |  | ||||||
| with lib.wyrdgard; |  | ||||||
| let | let | ||||||
|   cfg = config.wyrdgard.apps.kitty; |   inherit (lib) mkIf mkEnableOption; | ||||||
|  |   cfg = config.${namespace}.apps.kitty; | ||||||
| in | in | ||||||
| { | { | ||||||
|   options.wyrdgard.apps.kitty = { |   options.${namespace}.apps.kitty = { | ||||||
|     enable = mkEnableOption "Kity"; |     enable = mkEnableOption "Kitty"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|     home.packages = with pkgs; [ kitty ]; |     home.packages = [ pkgs.kitty ]; | ||||||
| 
 | 
 | ||||||
|     programs.kitty = { |     programs.kitty = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       theme = "Tokyo Night"; |       themeFile = "tokyo_night_night"; | ||||||
|       font = { |       font = { | ||||||
|         name = "Code New Roman"; |         name = "Code New Roman"; | ||||||
|         size = 15; |         size = 15; | ||||||
|       }; |       }; | ||||||
|       shellIntegration.enableFishIntegration = true; |       shellIntegration.enableFishIntegration = true; | ||||||
|       settings = { |       settings = { | ||||||
|         "background_opacity" = "0.95"; |         "background_opacity" = "0.90"; | ||||||
|         "shell" = "fish"; |         "shell" = "fish"; | ||||||
|         "confirm_os_window_close" = "0"; |         "confirm_os_window_close" = "0"; | ||||||
|       }; |       }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue