From b84fe8afc261cf98e7019fedd6a9169e83bd87e4 Mon Sep 17 00:00:00 2001 From: agentelement Date: Tue, 6 Jan 2026 16:26:26 -0700 Subject: [PATCH] llama-cpp: make models and modelsDir default null --- nixos/modules/services/misc/llama-cpp.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/misc/llama-cpp.nix b/nixos/modules/services/misc/llama-cpp.nix index 82c92f99afd6..6da2017f65fd 100644 --- a/nixos/modules/services/misc/llama-cpp.nix +++ b/nixos/modules/services/misc/llama-cpp.nix @@ -22,12 +22,14 @@ in type = lib.types.nullOr lib.types.path; example = "/models/mistral-instruct-7b/ggml-model-q4_0.gguf"; description = "Model path."; + default = null; }; modelsDir = lib.mkOption { type = lib.types.nullOr lib.types.path; example = "/models/"; description = "Models directory."; + default = null; }; extraFlags = lib.mkOption {