feat(homeModules/terminal): add ghostty option
This commit is contained in:
parent
962d00f511
commit
b1c61d5286
2 changed files with 7 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
cli.git.defaultBranch = "prime";
|
cli.git.defaultBranch = "prime";
|
||||||
desktop.windowManager = "hyprland";
|
desktop.windowManager = "hyprland";
|
||||||
desktop.browser = "firefox";
|
desktop.browser = "firefox";
|
||||||
desktop.terminal = "kitty";
|
desktop.terminal = "ghostty";
|
||||||
|
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
v = "nvim";
|
v = "nvim";
|
||||||
|
|
|
@ -10,5 +10,11 @@
|
||||||
home.packages = with pkgs; [ kitty ];
|
home.packages = with pkgs; [ kitty ];
|
||||||
home.sessionVariables.TERMINAL = "kitty";
|
home.sessionVariables.TERMINAL = "kitty";
|
||||||
})
|
})
|
||||||
|
(lib.mkIf (config.desktop.terminal == "ghostty") {
|
||||||
|
home.sessionVariables.TERMINAL = "ghostty -e";
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue