From a6f37e5785a5057ab43b4f5a64c590dcc709f043 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Fri, 3 Jan 2025 07:26:00 -0300 Subject: [PATCH] ghostty: fix configuration for bat syntax --- modules/programs/ghostty.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/programs/ghostty.nix b/modules/programs/ghostty.nix index 026f89dc..b2c147cc 100644 --- a/modules/programs/ghostty.nix +++ b/modules/programs/ghostty.nix @@ -140,7 +140,8 @@ in { src = cfg.package; file = "share/bat/syntaxes/ghostty.sublime-syntax"; }; - config.map-syntax = [ "*/ghostty/config:Ghostty Config" ]; + config.map-syntax = + [ "${config.xdg.configHome}/ghostty/config:Ghostty Config" ]; }; })