Jump to content

Ghostty

From Official NixOS Wiki

Ghostty

Terminal emulator Application

100%
Initial release31 December 2024
Latest release1.2.3; 23 October 2025.
Operating SystemLinux, macOS
Language(s)Zig
External links
Websitehttps://ghostty.org/
GitHubhttps://github.com/ghostty-org/ghostty
Bug trackerhttps://github.com/ghostty-org/ghostty/issues
Documentationhttps://ghostty.org/docs

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";
    };
  };
}