oizys/modules/llm/default.nix

24 lines
436 B
Nix
Raw Normal View History

2024-08-08 13:53:51 -05:00
{
pkgs,
config,
mkOizysModule,
2024-08-15 15:30:21 -05:00
# enabled,
2024-08-08 13:53:51 -05:00
...
}:
let
inherit (pkgs) python3Packages;
2024-08-15 15:30:21 -05:00
# llm-ollama = python3Packages.callPackage ./llm-plugins/llm-ollama { };
2024-08-08 14:20:37 -05:00
llm-claude3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 { };
2024-08-08 13:53:51 -05:00
in
mkOizysModule config "llm" {
2024-08-15 15:30:21 -05:00
# services.ollama = enabled;
2024-09-11 13:02:53 -05:00
environment.systemPackages = with pkgs; [
(python3.withPackages (ps: [
ps.llm
llm-claude3
]))
];
2024-08-08 13:53:51 -05:00
}