llama-cpp: remove required models or modelsDir assertion

This commit is contained in:
agentelement
2026-02-01 21:03:09 -07:00
parent f7f3858a24
commit 653f976dd4
@@ -69,14 +69,6 @@ in
};
config = lib.mkIf cfg.enable {
# Enforce that either model or modelDir is set
assertions = [
{
assertion = cfg.model != null || cfg.modelsDir != null;
message = "services.llama-cpp: Either 'model' or 'modelDir' must be set.";
}
];
systemd.services.llama-cpp = {
description = "LLaMA C++ server";
after = [ "network.target" ];