oizys/modules/llm/default.nix
2024-08-15 15:30:21 -05:00

24 lines
440 B
Nix

{
pkgs,
config,
mkOizysModule,
# enabled,
...
}:
let
inherit (pkgs) python3Packages;
# llm-ollama = python3Packages.callPackage ./llm-plugins/llm-ollama { };
llm-claude3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 { };
llm = (
pkgs.llm.withPlugins [
# llm-ollama
llm-claude3
]
);
in
mkOizysModule config "llm" {
# services.ollama = enabled;
environment.systemPackages = [ llm ];
}