From 12dd747c4d36ad6a7a8b9deff82eae24fc42e698 Mon Sep 17 00:00:00 2001 From: Dustin Swan <dustin@dustinswan.com> Date: Wed, 2 Apr 2025 14:35:04 -0600 Subject: [PATCH] Ghostty home-manager just having it generate the config --- home-gui.nix | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/home-gui.nix b/home-gui.nix index a4616d4..ea4c7aa 100644 --- a/home-gui.nix +++ b/home-gui.nix @@ -1,28 +1,33 @@ -{ ... }: +{ pkgs, ... }: -{ +# Ghostty not building on my mac at the moment +let + ghostty-mock = pkgs.writeShellScriptBin "gostty-mock" '' + true + ''; +in { fonts.fontconfig.enable = true; - # not building on my mac at the moment - # programs.ghostty = { - # enable = true; - # installBatSyntax = false; + programs.ghostty = { + enable = true; + installBatSyntax = false; + package = ghostty-mock; - # settings = { - # font-family = "Iosevka NFM"; - # font-size = 16; - # font-thicken = true; - # # theme = "dark:catppuccin-mocha,light:catppuccin-latte"; - # theme = "catppuccin-mocha"; - # background-opacity = 0.95; - # background-blur-radius = 15; - # window-padding-x = 12; - # window-padding-y = 8; - # window-padding-balance = true; - # macos-titlebar-style = "tabs"; - # macos-option-as-alt = "left"; - # copy-on-select = "clipboard"; - # # keybind = "global:cmd+grave_accent=toggle_quick_terminal"; - # }; - # }; + settings = { + font-family = "Iosevka NFM"; + font-size = 16; + font-thicken = true; + # theme = "dark:catppuccin-mocha,light:catppuccin-latte"; + theme = "catppuccin-mocha"; + background-opacity = 0.95; + background-blur-radius = 15; + window-padding-x = 12; + window-padding-y = 8; + window-padding-balance = true; + macos-titlebar-style = "tabs"; + macos-option-as-alt = "left"; + copy-on-select = "clipboard"; + # keybind = "global:cmd+grave_accent=toggle_quick_terminal"; + }; + }; }