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.0.0",
"src": {
"url": "https://release.files.ghostty.org/1.0.0/Ghostty.dmg",
"sha256": "091f7a2b3f4160a16d7d52b2822124bb9d5714993815f62a7d70027984372652"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"Ghostty.app\" \"$out/Applications/Ghostty.app\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Ghostty.app/Contents/MacOS/ghostty\" \"$out/bin/ghostty\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Ghostty.app/Contents/Resources/fish/vendor_completions.d/ghostty.fish\" \"$out/bin/$HOMEBREW_PREFIX/share/fish/vendor_completions.d/ghostty.fish\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Ghostty.app/Contents/Resources/terminfo/67/ghostty\" \"$out/bin/~/.terminfo/67/ghostty\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Ghostty.app/Contents/Resources/terminfo/78/xterm-ghostty\" \"$out/bin/~/.terminfo/78/xterm-ghostty\"",
"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/"
}
}
Version History
1.1.3 (NixCasks v4)
25 March 2025, 00:00 1.1.2 (NixCasks v4)
7 March 2025, 09:14 1.1.2 (NixCasks v3)
5 March 2025, 00:00 1.1.2 (NixCasks v2)
4 March 2025, 19:10 1.1.2 (NixCasks v1)
17 February 2025, 22:56 1.1.0 (NixCasks v1)
1 February 2025, 00:00 1.0.1 (NixCasks v1)
1 January 2025, 00:01 1.0.0 (NixCasks v1)
27 December 2024, 00:00