diff --git a/home/base/gui/dev-tools.nix b/home/base/gui/dev-tools.nix index 37385d7d..10258cce 100644 --- a/home/base/gui/dev-tools.nix +++ b/home/base/gui/dev-tools.nix @@ -18,6 +18,5 @@ # Utilities rtk # CLI proxy that reduces LLM token consumption - herdr # Terminal workspace manager for AI coding agents ]); } diff --git a/home/base/tui/herdr.nix b/home/base/tui/herdr.nix new file mode 100644 index 00000000..f8a3b349 --- /dev/null +++ b/home/base/tui/herdr.nix @@ -0,0 +1,42 @@ +{ + pkgs, + lib, + llm-agents, + ... +}: +{ + programs.herdr = { + enable = true; + package = llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.herdr; + + settings = { + onboarding = false; + + update = { + version_check = false; + manifest_check = false; + }; + + # home-manager owns ~/.ssh/config; keep herdr from writing it too. + remote.manage_ssh_config = false; + + # "catppuccin" is the mocha flavor, matching catppuccin-nix's fixed flavor. + theme.name = "catppuccin"; + + terminal = { + default_shell = lib.getExe pkgs.nushell; + shell_mode = "auto"; + new_cwd = "follow"; + }; + + ui = { + agent_panel_sort = "priority"; + prompt_new_tab_name = false; + sound.enabled = false; + }; + + session.resume_agents_on_restore = true; + experimental.kitty_graphics = true; + }; + }; +} diff --git a/hosts/idols-ai/preservation.nix b/hosts/idols-ai/preservation.nix index 7ab3aafc..840edca8 100644 --- a/hosts/idols-ai/preservation.nix +++ b/hosts/idols-ai/preservation.nix @@ -164,6 +164,10 @@ in ".local/share/opencode" ".local/state/opencode" + # herdr: plugin registry, plugin checkouts/config, session layout + ".config/herdr" + ".local/state/herdr" + ".context7" # up-to-date docs and code examples for for LLMs & agents # nvim