ollama: ship mistral

This commit is contained in:
2024-10-13 02:03:55 +00:00
parent 8744870cd4
commit cb963bba4c

View File

@@ -15,7 +15,14 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
cfg = config.sane.services.ollama; cfg = config.sane.services.ollama;
models = "${pkgs.ollamaPackages.llama3_2_3b}/share/ollama/models"; modelSources = pkgs.symlinkJoin {
name = "ollama-models";
paths = with pkgs.ollamaPackages; [
llama3_2_3b
mistral
];
};
models = "${modelSources}/share/ollama/models";
in in
{ {
options.sane.services.ollama = with lib; { options.sane.services.ollama = with lib; {