From 330978256c66e55a027247e436f5c7baeecb755e Mon Sep 17 00:00:00 2001 From: arnuraltynbekuly96-dot Date: Sun, 7 Dec 2025 21:11:24 +0500 Subject: [PATCH] Update binary.mdx --- docs/install/binary.mdx | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/install/binary.mdx b/docs/install/binary.mdx index db94f9b8..485af611 100644 --- a/docs/install/binary.mdx +++ b/docs/install/binary.mdx @@ -24,7 +24,32 @@ process as installing many typical macOS applications. A [Homebrew cask](https://formulae.brew.sh/cask/ghostty) is available and maintained by the Ghostty community. -```sh +```{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + ghostty = { + url = "github:ghostty-org/ghostty"; + }; + }; + + outputs = { + nixpkgs, + ghostty, + ... + }: { + nixosConfigurations.mysystem = nixpkgs.lib.nixosSystem { + modules = [ + ({ pkgs, ... }: { + environment.systemPackages = [ + ghostty.packages.${pkgs.stdenv.hostPlatform.system}.default + ]; + }) + ]; + }; + }; +} + brew install --cask ghostty ```