feat: add ghostty

This commit is contained in:
Ryan Yin
2025-01-29 13:55:50 +08:00
parent a3aa2db0f1
commit b30199c437
3 changed files with 183 additions and 21 deletions

View File

@@ -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;
};
};
}