ghostty-flake/README.md
2026-03-10 07:45:05 -07:00

1 KiB

Nix flake for Ghostty AppImage

Uses Ghostty app image

I do not believe this flake will work on NixOS proper. Appimages use a wrapper there that do not work outside of NixOS.

Updating the flake for new AppImage releases

  1. Update upstreamVersion and appimageVersion in flake.nix (e.g. "1.3.0" and "v1.3.0").

  2. Get the new SRI hashes for each architecture:

# x86_64
nix-prefetch-url --type sha256 \
  "https://github.com/psadi/ghostty-appimage/releases/download/v<VERSION>/Ghostty-<VERSION>-x86_64.AppImage" \
  | xargs nix hash convert --hash-algo sha256 --to sri

# aarch64
nix-prefetch-url --type sha256 \
  "https://github.com/psadi/ghostty-appimage/releases/download/v<VERSION>/Ghostty-<VERSION>-aarch64.AppImage" \
  | xargs nix hash convert --hash-algo sha256 --to sri
  1. Replace the corresponding hash values in flake.nix with the output from the commands above.