From f3bd31bb7c203409b0c1591b083c78b6c1d13b63 Mon Sep 17 00:00:00 2001 From: Johannes Kresner Date: Tue, 18 Aug 2026 16:21:49 +0200 Subject: [PATCH] feat: make ghostty command only appear on linux --- config/ghostty/config | 9 --------- config/herdr/config.toml | 3 +++ home.nix | 13 +++++++++++++ 3 files changed, 16 insertions(+), 9 deletions(-) delete mode 100644 config/ghostty/config diff --git a/config/ghostty/config b/config/ghostty/config deleted file mode 100644 index 231bf9a..0000000 --- a/config/ghostty/config +++ /dev/null @@ -1,9 +0,0 @@ -font-family = JetBrainsMono Nerd Font -theme = dark:Catppuccin Mocha,light:Catppuccin Latte -window-theme = ghostty -command = nu -background-blur = true -auto-update = check -macos-option-as-alt = left -shell-integration = nushell -shell-integration-features = ssh-env,ssh-terminfo diff --git a/config/herdr/config.toml b/config/herdr/config.toml index 123513b..4920537 100644 --- a/config/herdr/config.toml +++ b/config/herdr/config.toml @@ -16,3 +16,6 @@ focus_pane_right = "alt+l" # Direct pane creation (bypasses prefix) split_vertical = "alt+v" split_horizontal = "alt+s" + +[experimental] +kitty_graphics = true diff --git a/home.nix b/home.nix index 41370b8..9efe631 100644 --- a/home.nix +++ b/home.nix @@ -98,6 +98,19 @@ path = "${config.home.homeDirectory}/.config/jj/config.toml"; }; + home.file.".config/ghostty/config".text = '' + font-family = JetBrainsMono Nerd Font + theme = dark:Catppuccin Mocha,light:Catppuccin Latte + window-theme = ghostty + background-blur = true + auto-update = check + macos-option-as-alt = left + shell-integration = nushell + shell-integration-features = ssh-env,ssh-terminfo + '' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux '' + command = nu + ''; + fonts.fontconfig.enable = true; home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''