mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-15 06:11:46 +02:00
feat(herdr): declare config in home-manager and persist state
This commit is contained in:
@@ -18,6 +18,5 @@
|
|||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
rtk # CLI proxy that reduces LLM token consumption
|
rtk # CLI proxy that reduces LLM token consumption
|
||||||
herdr # Terminal workspace manager for AI coding agents
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -164,6 +164,10 @@ in
|
|||||||
".local/share/opencode"
|
".local/share/opencode"
|
||||||
".local/state/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
|
".context7" # up-to-date docs and code examples for for LLMs & agents
|
||||||
|
|
||||||
# nvim
|
# nvim
|
||||||
|
|||||||
Reference in New Issue
Block a user