From f6ad8815e34170d769ad5edfd34d1f516ca21592 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Fri, 26 Dec 2025 15:18:13 +0100 Subject: [PATCH] ghostty config --- profiles/ghostty.nix | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/profiles/ghostty.nix b/profiles/ghostty.nix index 5f058b7..bfadbe4 100644 --- a/profiles/ghostty.nix +++ b/profiles/ghostty.nix @@ -1,22 +1,18 @@ {pkgs, ...}: { - programs.ghostty = { - enable = true; - package = pkgs.emptyDirectory; - settings = { - command = "${pkgs.fish}/bin/fish"; - theme = "Catppuccin Latte"; - window-padding-x = 12; - window-padding-y = 3; - window-padding-balance = true; - font-family = "TX-02 SemiCondensed"; - font-size = 16.5; - cursor-style = "block"; - mouse-hide-while-typing = true; - mouse-scroll-multiplier = 1.25; - shell-integration = "detect"; - shell-integration-features = "no-cursor"; - clipboard-read = "allow"; - clipboard-write = "allow"; - }; - }; + xdg.configFile."ghostty/config".text = '' + command = ${pkgs.fish}/bin/fish + theme = Catppuccin Latte + window-padding-x = 12 + window-padding-y = 3 + window-padding-balance = true + font-family = TX-02 + font-size = 16.5 + cursor-style = block + mouse-hide-while-typing = true + mouse-scroll-multiplier = 1.25 + shell-integration = detect + shell-integration-features = no-cursor + clipboard-read = allow + clipboard-write = allow + ''; }