Set up LLM and Aider.
Update flake deps.
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
NIX_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||
pkgs.stdenv.cc.cc
|
||||
];
|
||||
GEMINI_API_KEY = "AIzaSyBZkifYOFNKCjROLa_GZyzQbB2EbEYIby4";
|
||||
LLM_GEMINI_KEY = "AIzaSyBZkifYOFNKCjROLa_GZyzQbB2EbEYIby4";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
@@ -25,6 +27,7 @@
|
||||
directories = [
|
||||
".cache/nix"
|
||||
".cache/nix-index"
|
||||
".config/io.datasette.llm/"
|
||||
".config/sops/"
|
||||
".docker/"
|
||||
".local/share/fish"
|
||||
|
||||
@@ -1,22 +1,30 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
corePkgs = with pkgs; [
|
||||
direnv
|
||||
fzf
|
||||
git
|
||||
mosh
|
||||
ripgrep
|
||||
tmux
|
||||
zsh
|
||||
];
|
||||
|
||||
pythonEnv = pkgs.unstable.python3.withPackages (ps: [
|
||||
ps.aider-chat
|
||||
ps.google-generativeai
|
||||
ps.ipython
|
||||
ps.llm
|
||||
ps.llm-gemini
|
||||
]);
|
||||
|
||||
fishPkgs = with pkgs.fishPlugins; [
|
||||
pure
|
||||
# don't add failed commands to history
|
||||
sponge
|
||||
transient-fish
|
||||
];
|
||||
in
|
||||
{
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
direnv
|
||||
fzf
|
||||
git
|
||||
home-manager
|
||||
mosh
|
||||
python312Packages.ipython
|
||||
ripgrep
|
||||
tmux
|
||||
zsh
|
||||
]
|
||||
++ (with pkgs.fishPlugins; [
|
||||
pure
|
||||
# don't add failed commands to history
|
||||
sponge
|
||||
transient-fish
|
||||
]);
|
||||
packages = corePkgs ++ [ pythonEnv ] ++ fishPkgs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user