{ ... }: { # https://mynixos.com/home-manager/option/programs.ghostty programs.ghostty = { enable = true; enableFishIntegration = true; # custom palette ported verbatim from the previous alacritty config # (poimandres-ish). lives in ~/.config/ghostty/themes/poimandres and is # selected by `theme = "poimandres"` below. themes.poimandres = { palette = [ "0=#1b1e28" "1=#d0679d" "2=#5de4c7" "3=#fffac2" "4=#435c89" "5=#fcc5e9" "6=#add7ff" "7=#ffffff" "8=#a6accd" "9=#d0679d" "10=#5de4c7" "11=#fffac2" "12=#add7ff" "13=#fae4fc" "14=#89ddff" "15=#ffffff" ]; background = "131621"; foreground = "a6accd"; cursor-color = "a6accd"; cursor-text = "131621"; selection-background = "303340"; selection-foreground = "a6accd"; }; settings = { theme = "poimandres"; # font font-family = "JetBrainsMono Nerd Font"; font-size = 12; # window window-decoration = false; window-padding-x = 10; window-padding-y = 10; window-width = 80; window-height = 40; # semi-transparent background background-opacity = 0.90; # cursor cursor-style = "underline"; # keep one daemon alive so subsequent launches (e.g. niri Mod+T) are # instant instead of paying GTK + wgpu init each time. relies on the # dbus-activated systemd user service that the HM module wires up. gtk-single-instance = true; }; }; home.sessionVariables = { TERMINAL = "ghostty"; }; }