mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 08:19:47 +01:00
Fixed Ollama.nix
This commit is contained in:
parent
3dfcb41244
commit
8efea2a012
@ -118,9 +118,10 @@ in
|
|||||||
# Le répertoire des modèles (on utilise toujours OLLAMA_MODELS)
|
# Le répertoire des modèles (on utilise toujours OLLAMA_MODELS)
|
||||||
OLLAMA_MODELS = cfg.models;
|
OLLAMA_MODELS = cfg.models;
|
||||||
};
|
};
|
||||||
# Logs de sortie standard
|
# Logs de sortie standard (laissé à null pour utiliser le système de logs macOS)
|
||||||
StandardOutPath = "${cfg.home}/ollama.log";
|
# Les logs seront visibles via: log show --predicate 'process == "ollama"' --info
|
||||||
StandardErrorPath = "${cfg.home}/ollama-error.log";
|
StandardOutPath = null;
|
||||||
|
StandardErrorPath = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -157,8 +158,8 @@ in
|
|||||||
'') cfg.loadModels}
|
'') cfg.loadModels}
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
StandardOutPath = "${cfg.home}/model-loader.log";
|
StandardOutPath = null;
|
||||||
StandardErrorPath = "${cfg.home}/model-loader-error.log";
|
StandardErrorPath = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -175,3 +176,4 @@ in
|
|||||||
|
|
||||||
meta.maintainers = with lib.maintainers; [ ];
|
meta.maintainers = with lib.maintainers; [ ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user