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-05-06 20:02:36 -04:00
|
|
|
font-family = fonts.mono;
|
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
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|