This commit is contained in:
Tyler Mayoff 2025-07-19 11:18:46 -04:00
parent 745eb1ed42
commit f25d426ae8
3 changed files with 31 additions and 12 deletions

View file

@ -1,9 +1,24 @@
{...}: {
{pkgs, ...}: let
catppuccin = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "ghostty";
rev = "61bed99612125e9873cadfd0857137cdd2568a21";
hash = "sha256-GM/wKBUdgly7lKs8IiGKB7cBaUuE+GSubLgOMZNmsZ4=";
};
in {
programs.ghostty = {
enable = true;
settings = {
theme = "dark:catppuccin-macchiato,light:catppuccin-latte";
theme = "dark:catppuccin-macchiato.conf,light:catppuccin-latte.conf";
keybind = [
"global:f12=toggle_quick_terminal"
];
};
};
xdg.configFile."ghostty/themes/catppuccin-latte.conf".source = "${catppuccin}/themes/catppuccin-latte.conf";
xdg.configFile."ghostty/themes/catppuccin-macchiato.conf".source = "${catppuccin}/themes/catppuccin-macchiato.conf";
}