rebuilding nix files
This commit is contained in:
+307
-308
File diff suppressed because it is too large
Load Diff
@@ -1643,7 +1643,7 @@ It ensures the Ollama CLI is available system-wide for interacting with local mo
|
|||||||
It automatically pulls and prepares selected coding models (e.g., Qwen2.5-Coder and StarCoder2) at system activation.
|
It automatically pulls and prepares selected coding models (e.g., Qwen2.5-Coder and StarCoder2) at system activation.
|
||||||
|
|
||||||
#+begin_src nix :tangle home/apps/ai.nix :noweb tangle :mkdirp yes
|
#+begin_src nix :tangle home/apps/ai.nix :noweb tangle :mkdirp yes
|
||||||
{ config, pkgs, lib, flakeRoot ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Read environment variables (OLLAMA_HOST and MISTRAL_API_KEY) from a local file.
|
# Read environment variables (OLLAMA_HOST and MISTRAL_API_KEY) from a local file.
|
||||||
@@ -1655,7 +1655,6 @@ let
|
|||||||
(nameValue: builtins.splitString "=" nameValue);
|
(nameValue: builtins.splitString "=" nameValue);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# --- Packages ---
|
|
||||||
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD).
|
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD).
|
||||||
# For NVIDIA GPUs, replace `ollama-vulkan` with `ollama`.
|
# For NVIDIA GPUs, replace `ollama-vulkan` with `ollama`.
|
||||||
# For AMD ROCm, use `ollama-rocm` and ensure ROCm is installed.
|
# For AMD ROCm, use `ollama-rocm` and ensure ROCm is installed.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, flakeRoot ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Read environment variables (OLLAMA_HOST and MISTRAL_API_KEY) from a local file.
|
# Read environment variables (OLLAMA_HOST and MISTRAL_API_KEY) from a local file.
|
||||||
@@ -10,7 +10,6 @@ let
|
|||||||
(nameValue: builtins.splitString "=" nameValue);
|
(nameValue: builtins.splitString "=" nameValue);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# --- Packages ---
|
|
||||||
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD).
|
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD).
|
||||||
# For NVIDIA GPUs, replace `ollama-vulkan` with `ollama`.
|
# For NVIDIA GPUs, replace `ollama-vulkan` with `ollama`.
|
||||||
# For AMD ROCm, use `ollama-rocm` and ensure ROCm is installed.
|
# For AMD ROCm, use `ollama-rocm` and ensure ROCm is installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user