diff --git a/nix/ollama.nix b/nix/ollama.nix index 5b4f8e3f..29ba2acf 100644 --- a/nix/ollama.nix +++ b/nix/ollama.nix @@ -94,6 +94,8 @@ in name = "${name}-models"; text = '' set -x + OLLAMA_HOST=${config.host}:${toString config.port} + export OLLAMA_HOST models="${lib.concatStringsSep " " config.models}" for model in $models do