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 29, 2025
1 parent a3aa2db commit dc00a11
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
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
# package = ghostty.packages.${pkgs.system}.default; # the latest version
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 dc00a11

Please sign in to comment.