From 8bfa3f50136a620d6cc80965ad9067712b6e9619 Mon Sep 17 00:00:00 2001 From: Franck Cuny <59291+fcuny@users.noreply.github.com> Date: Sun, 2 Mar 2025 17:36:58 -0800 Subject: add repomix integration - Install `repomix` via homebrew - Add `llm-bundle` just command and `readme-gen` template - Configure just integration in home config --- nix/users/fcuny/dev.nix | 2 ++ nix/users/fcuny/llm.nix | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nix/users') diff --git a/nix/users/fcuny/dev.nix b/nix/users/fcuny/dev.nix index 3c74997..9e3b50c 100644 --- a/nix/users/fcuny/dev.nix +++ b/nix/users/fcuny/dev.nix @@ -91,6 +91,8 @@ ]; }; + home.file.".config/just/justfile".text = builtins.readFile ../../../configs/justfile; + home.sessionPath = [ config.home.sessionVariables.GOBIN "${config.home.homeDirectory}/.local/bin" diff --git a/nix/users/fcuny/llm.nix b/nix/users/fcuny/llm.nix index 4510c67..c41bf04 100644 --- a/nix/users/fcuny/llm.nix +++ b/nix/users/fcuny/llm.nix @@ -1,17 +1,19 @@ { ... }: { - 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; + home.file.".config/llm/templates/readme-gen.yaml".text = + builtins.readFile ../../../configs/llm/templates/readme-gen.yaml; + programs.fish = { shellAliases = { commit-msg = "git diff --cached | llm -t commit-prompt"; pr-msg = "git diff HEAD | llm -t pr-prompt"; + readme-gen = "llm -t readme-gen"; }; }; -- cgit v1.2.3