feat(homeModules/terminal): add ghostty option

This commit is contained in:
Mohammad Rafiq 2025-05-20 19:18:42 +08:00
parent 962d00f511
commit b1c61d5286
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View file

@ -13,7 +13,7 @@
cli.git.defaultBranch = "prime";
desktop.windowManager = "hyprland";
desktop.browser = "firefox";
desktop.terminal = "kitty";
desktop.terminal = "ghostty";
home.shellAliases = {
v = "nvim";

View file

@ -10,5 +10,11 @@
home.packages = with pkgs; [ kitty ];
home.sessionVariables.TERMINAL = "kitty";
})
(lib.mkIf (config.desktop.terminal == "ghostty") {
home.sessionVariables.TERMINAL = "ghostty -e";
programs.ghostty = {
enable = true;
};
})
];
}