diff --git a/config/Ollama.nix b/config/Ollama.nix index 20c7033..f7978ec 100644 --- a/config/Ollama.nix +++ b/config/Ollama.nix @@ -13,6 +13,7 @@ in imports = [ "${inputs.nixpkgsMaster}/nixos/modules/services/misc/ollama.nix" ]; config = lib.mkIf cfg.enable { + environment.variables.OLLAMA_MODEL = cfg.primaryModel; services.ollama = { enable = true; host = "[::1]";