blob: 4510c672bf11e11f58c4fa83afe55e59f36c40ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ ... }:
{
home.file.".configs/llm/templates/.keep".text = "# Managed by Home Manager";
home.file.".config/llm/templates/pr-prompt.yaml".text =
builtins.readFile ../../../configs/llm/templates/pr-prompt.yaml;
home.file.".config/llm/templates/commit-prompt.yaml".text =
builtins.readFile ../../../configs/llm/templates/commit-prompt.yaml;
programs.fish = {
shellAliases = {
commit-msg = "git diff --cached | llm -t commit-prompt";
pr-msg = "git diff HEAD | llm -t pr-prompt";
};
};
home.sessionVariables = {
LLM_USER_PATH = "$HOME/.config/llm";
};
}
|