blob: 407ceadc82210ee3c8d4a18a25b0de0203c3e767 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ ... }:
{
# we need this path to be created.
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";
};
}
|