Ghostty icon

Ghostty 1.3.0

Terminal emulator that uses platform-native UI and GPU acceleration

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    ghostty # Ghostty
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    ghostty # Ghostty
  ];
}

Package Definition

{
  "pname": "ghostty",
  "version": "1.3.0",
  "src": {
    "url": "https://release.files.ghostty.org/1.3.0/Ghostty.dmg",
    "sha256": "53fe98e70982118008c03b9fdbf5df265522a7fdb6bdfa18eb7d0d4cd31d0cc5"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/Ghostty.app\" && cp -r \"Ghostty.app\" \"$out/Applications\"",
    "mkdir -p \"$out/usr/local/share/man/man1\" && ln -s \"$out/Applications/Ghostty.app/Contents/Resources/man/man1/ghostty.1\" \"$out/usr/local/share/man/man1/ghostty.1\"",
    "mkdir -p \"$out/usr/local/share/man/man5\" && ln -s \"$out/Applications/Ghostty.app/Contents/Resources/man/man5/ghostty.5\" \"$out/usr/local/share/man/man5/ghostty.5\""
  ],
  "meta": {
    "description": "Terminal emulator that uses platform-native UI and GPU acceleration",
    "homepage": "https://ghostty.org/"
  }
}