From 3d3c56f40d9b37afda4d3d5b0ecf10aab190ddfc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 26 Apr 2026 09:06:07 +0300 Subject: Add hexai config to dotfiles (Linux only) Manage ~/.config/hexai/config.toml from the dotfiles repo, mirroring how helix, lazygit, and opencode are handled. The home_hexai task is gated to Linux because hexai is currently only used on the Linux workstation. The deployed config sets Ollama Cloud (kimi-k2.6 at https://ollama.com) as the default provider and uses gemma4:31b for in-code completion. The API key is read from $HEXAI_OLLAMA_API_KEY (or $OLLAMA_API_KEY). Co-Authored-By: Claude Opus 4.7 (1M context) --- Rexfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Rexfile') diff --git a/Rexfile b/Rexfile index f512415..a9c1c5e 100644 --- a/Rexfile +++ b/Rexfile @@ -146,6 +146,16 @@ task 'home_helix', sub { ensure "$DOT/helix/*" => "$HOME/.config/helix/" }; desc 'Install ~/.config/ghostty'; task 'home_ghostty', sub { ensure "$DOT/ghostty/*" => "$HOME/.config/ghostty/" }; +desc 'Install ~/.config/hexai (Linux only)'; +task 'home_hexai', sub { + if ( $^O eq 'linux' ) { + ensure "$DOT/hexai/*" => "$HOME/.config/hexai/"; + } + else { + Rex::Logger::info( 'Skipping hexai configuration (not on Linux)', 'warn' ); + } +}; + desc 'Install ~/.config/lazygit'; task 'home_lazygit', sub { ensure "$DOT/lazygit/*" => "$HOME/.config/lazygit/" }; -- cgit v1.2.3