Ghostty: Difference between revisions

Kaya (talk | contribs)
Add terminal category
Axka (talk | contribs)
Tags: Mobile edit Mobile web edit Visual edit
 
Line 16: Line 16:


== Installation ==
== Installation ==
Ghostty can be installed in the usual ways via declaring it in either your NixOS configuration or in your Home Manager configuration.
[[Adding programs to PATH|Install]] the <code>ghostty</code> package on Linux or the <code>ghostty-bin</code> package on Darwin/macOS. If you're configuring Ghostty with Home Manager, you don't have to install the package manually.
 
{{Note|If you are using Darwin/macOS. You will have to use the ghostty-bin package instead!}}<syntaxhighlight lang="nix">
# 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
];
 
</syntaxhighlight>


== Configuring Ghostty with Home Manager ==
== Configuring Ghostty with Home Manager ==