Skip to content

Commit

Permalink
feat: add ghostty
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Jan 22, 2025
1 parent 7deed26 commit 48a5292
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 21 deletions.
170 changes: 149 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};

ghostty = {
url = "github:ghostty-org/ghostty";
};

######################## Some non-flake repositories #########################################

# doom-emacs is a configuration framework for GNU Emacs.
Expand Down
30 changes: 30 additions & 0 deletions home/base/gui/terminal/ghostty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
pkgs,
ghostty,
...
}:
###########################################################
#
# Ghostty Configuration
#
###########################################################
{
programs.ghostty = {
enable = true;
package = pkgs.ghostty; # the stable version, both linux and macOS.
# package = ghostty.packages.${pkgs.system}.default; # the latest version, linux only.
enableBashIntegration = true;
# installVimSyntax = true;
settings = {
theme = "catppuccin-mocha";

font-family = "JetBrains Mono";
font-size = 13;

background-opacity = 0.93;
# only supported on macOS;
background-blur-radius = 10;
scrollback-limit = 20000;
};
};
}

0 comments on commit 48a5292

Please sign in to comment.