Ghostty
Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.[1]
Installation
Ghostty can be installed in the usual ways via declaring it in either your NixOS configuration or in your Home Manager configuration.
Note: If you are using Darwin/macOS. You will have to use the ghostty-bin package instead!
# System-wide installation (in /etc/nixos/configuration.nix)
environment.systemPackages = with pkgs; [
ghostty
];
# User-specific installation (in ~/.config/nixpkgs/home.nix)
home.packages = with pkgs; [
ghostty
];
Configuring Ghostty with Home Manager
A quick example on how to configure and install Ghostty with Home Manager, full set of options can be found here.
❄︎ home.nix
{ pkgs, ... }: {
programs.ghostty = {
enable = true;
package = if pkgs.stdenv.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
# Enable for whichever shell you plan to use!
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
settings = {
theme = "Abernathy";
background-opacity = "0.95";
};
};
}
