1{
2 inputs,
3 traits,
4 lib,
5 pkgs,
6 ...
7}:
8lib.mkIf traits.gui {
9 programs.ghostty = {
10 enable = true;
11 package = inputs.ghostty.packages.${pkgs.system}.ghostty;
12 settings = {
13 theme = "catppuccin-latte";
14 font-family = "CozetteVector";
15 font-size = 14;
16 window-decoration = "client";
17
18 # great feature, but breaks a bit too many things :(
19 # minimum-contrast = 1.1;
20 async-backend = "epoll"; # see if this fixes iowait "bug"
21
22 custom-shader = builtins.toString ./assets/cursor_smear.glsl;
23 custom-shader-animation = true;
24 };
25 };
26}