config/modules/home/apps/term/ghostty/default.nix

43 lines
869 B
Nix
Raw Normal View History

2025-01-12 13:37:57 -05:00
{
options,
config,
lib,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.term.ghostty;
in {
options.apps.term.ghostty = with types; {
enable = mkBoolOpt false "Enable Ghostty Term";
};
config = mkIf cfg.enable {
programs.ghostty = {
enable = true;
settings = {
2025-07-22 20:21:21 -04:00
font-family = "Berkeley Mono";
font-size = 24;
font-style = "Retina ExtraCondensed";
font-style-bold = "Bold ExtraCondensed";
font-style-italic = "Retina ExtraCondensed Oblique";
font-style-bold-italic = "Bold ExtraCondensed Oblique";
2025-01-12 13:37:57 -05:00
gtk-single-instance = true;
gtk-titlebar = false;
2025-04-27 11:11:51 -04:00
background = colors.crust.hex;
2025-06-15 18:15:28 -04:00
alpha-blending = "linear-corrected";
2025-04-27 11:11:51 -04:00
window-padding-x = 20;
window-padding-y = 20;
window-padding-balance = true;
2025-01-12 13:37:57 -05:00
};
};
};
}