From 3bc09cde6fa66cdc5d8613e7e45ddd657230a860 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 2 Nov 2023 07:48:46 -0500 Subject: [PATCH] feat: ghostty Signed-off-by: jolheiser --- apps/nogui/default.nix | 1 + apps/nogui/ghostty.nix | 43 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 apps/nogui/ghostty.nix diff --git a/apps/nogui/default.nix b/apps/nogui/default.nix index aedda68..41798ef 100644 --- a/apps/nogui/default.nix +++ b/apps/nogui/default.nix @@ -8,6 +8,7 @@ ./bottom.nix ./eza.nix ./fzf.nix + ./ghostty.nix ./git.nix ./go.nix ./gpg.nix diff --git a/apps/nogui/ghostty.nix b/apps/nogui/ghostty.nix new file mode 100644 index 0000000..d20e305 --- /dev/null +++ b/apps/nogui/ghostty.nix @@ -0,0 +1,43 @@ +{ + xdg = { + systemDirs.data = ["/home/jolheiser/.local/share/ghostty/share"]; + configFile."ghostty/config".text = '' + background-opacity = 0.9 + command = nu + confirm-close-surface = false + + # Catppuccin + background = 1E1E2E + foreground = CDD6F4 + cursor-color = F5E0DC + selection-background = F5E0DC + selection-foreground = 1E1E2E + # black + palette = 0=#45475A + palette = 8=#585B70 + # red + palette = 1=#F38BA8 + palette = 9=#F38BA8 + # green + palette = 2=#A6E3A1 + palette = 10=#A6E3A1 + # yellow + palette = 3=#F9E2AF + palette = 11=#F9E2AF + # blue + palette = 4=#89B4FA + palette = 12=#89B4FA + # magenta + palette = 5=#F5C2E7 + palette = 13=#F5C2E7 + # cyan + palette = 6=#94E2D5 + palette = 14=#94E2D5 + # white + palette = 7=#BAC2DE + palette = 15=#A6ADC8 + ''; + }; + home.sessionPath = ["/home/jolheiser/.local/share/ghostty/bin"]; + programs.bash.enable = true; +}