Replies: 1 comment
|
For nix / home-manager I'd treat LLM's user directory as the thing you make declarative, then point everything at it. LLM keeps keys, templates, prefs, the SQLite log DB, and dirname "$(llm logs path)"
# or
llm keys pathOverride it with export LLM_USER_PATH=/home/you/.config/llmIn home-manager that's just What belongs in that directory:
Plugins are packages, not files in that folder. Install them the same way you install llm install llm-anthropic
# or
uv tool install llm --with llm-anthropicFrom home-manager that usually means a package/overlay or an activation hook that runs Rough split: More in the docs: custom directory location. |
Uh oh!
There was an error while loading. Please reload this page.
Excellent library, thank you @simonw
I have several workflows built on
llm, but I use nix home manager, which means I try to be declarative about my tool settings.What's the best way to store
llmconfigs via dotfiles or declaratively? Specifically, I'd like to store plugins, default model choices, and other config. Likely the SQLite db as well.All reactions