From 8efea2a012592f7a696d589360c9beb62c2cfeb6 Mon Sep 17 00:00:00 2001 From: Alexandre1a Date: Sat, 27 Dec 2025 00:56:26 +0100 Subject: [PATCH] Fixed Ollama.nix --- modules/macos/ollama.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/macos/ollama.nix b/modules/macos/ollama.nix index ccc0a45..0bb7a62 100644 --- a/modules/macos/ollama.nix +++ b/modules/macos/ollama.nix @@ -118,9 +118,10 @@ in # Le répertoire des modèles (on utilise toujours OLLAMA_MODELS) OLLAMA_MODELS = cfg.models; }; - # Logs de sortie standard - StandardOutPath = "${cfg.home}/ollama.log"; - StandardErrorPath = "${cfg.home}/ollama-error.log"; + # Logs de sortie standard (laissé à null pour utiliser le système de logs macOS) + # Les logs seront visibles via: log show --predicate 'process == "ollama"' --info + StandardOutPath = null; + StandardErrorPath = null; }; }; @@ -157,8 +158,8 @@ in '') cfg.loadModels} '' ]; - StandardOutPath = "${cfg.home}/model-loader.log"; - StandardErrorPath = "${cfg.home}/model-loader-error.log"; + StandardOutPath = null; + StandardErrorPath = null; }; }; @@ -175,3 +176,4 @@ in meta.maintainers = with lib.maintainers; [ ]; } +