nixos: gen 115 @ lilac — 2026-11-05 12:22 26.05.20261031.fa13731 (Yarara) -----

This commit is contained in:
2026-11-05 12:23:08 -07:00
parent f70618d4c3
commit a02eb00e74
2 changed files with 19 additions and 1 deletions
+3
View File
@@ -243,6 +243,9 @@ in
"qwen3.6:35b-a3b-q4_K_M" = { "qwen3.6:35b-a3b-q4_K_M" = {
name = "Qwen3.6 35B Thinker"; name = "Qwen3.6 35B Thinker";
}; };
"codestral:22b" = {
name = "codestral 22B";
};
}; };
}; };
}; };
+16 -1
View File
@@ -61,10 +61,15 @@ in
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver # Hardware acceleration intel-media-driver # Hardware video acceleration
intel-vaapi-driver intel-vaapi-driver
vpl-gpu-rt # Video processing runtime vpl-gpu-rt # Video processing runtime
intel-compute-runtime # OpenCL + Level Zero GPU compute (Arc iGPU) intel-compute-runtime # OpenCL + Level Zero GPU compute (Arc iGPU)
# Explicit Vulkan Support for Ollama-Vulkan
vulkan-loader
vulkan-validation-layers
vulkan-tools # Useful for running `vulkaninfo` to verify the iGPU
]; ];
extraPackages32 = with pkgs.pkgsi686Linux; [ extraPackages32 = with pkgs.pkgsi686Linux; [
intel-media-driver intel-media-driver
@@ -77,5 +82,15 @@ in
services.ollama = { services.ollama = {
enable = true; enable = true;
package = unstable.ollama-vulkan; package = unstable.ollama-vulkan;
# Environment tweaks to manage Vulkan layers and memory boundaries
environmentVariables = {
# Forces Ollama to strictly leverage Vulkan device routing
GGML_VULKAN_DEVICE = "0";
# Hints the runner to allocate maximum context buffers in unified memory
# Adjust this if your desktop environment + apps feel constrained, but with 64GB you're safe.
OLLAMA_NUM_PARALLEL = "1";
};
}; };
} }