mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
35 lines
829 B
Nix
35 lines
829 B
Nix
{
|
|
pkgs,
|
|
ghostty,
|
|
...
|
|
}:
|
|
###########################################################
|
|
#
|
|
# Ghostty Configuration
|
|
#
|
|
###########################################################
|
|
{
|
|
programs.ghostty = {
|
|
enable = true;
|
|
package =
|
|
if pkgs.stdenv.isDarwin
|
|
then pkgs.emptyDirectory # pkgs.ghostty is currently broken on darwin
|
|
else pkgs.ghostty; # the stable version
|
|
# package = ghostty.packages.${pkgs.system}.default; # the latest version
|
|
enableBashIntegration = false;
|
|
installBatSyntax = false;
|
|
# 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;
|
|
};
|
|
};
|
|
}
|