{ lib, pkgs, config, ... }: let cfg = config.programs.ghostty; in { config = lib.mkIf cfg.enable { home.packages = [ pkgs.nerd-fonts.iosevka ]; programs.ghostty.settings = { # Declutter gtk-titlebar = false; window-decoration = "none"; confirm-close-surface = false; # Fonts font-family = "Iosevka NFM"; adjust-cursor-thickness = 2; keybind = [ "ctrl+shift+==increase_font_size:1" "ctrl+-=decrease_font_size:1" ]; # Theme background = "#fdf6e3"; foreground = "#073642"; palette = [ "0=#073642" "1=#af005f" "2=#859900" "3=#ba9b23" "4=#268bd2" "5=#5f5faf" "6=#2aa198" "7=#a0a1a7" "8=#4d4d4d" "9=#d33682" "10=#29a350" "11=#d6b429" "12=#469edd" "13=#6060d1" "14=#4bccc1" # a platupus? perry the platupus? "15=#eeeadd" ]; }; }; }