{ lib, pkgs, flakeRoot }: let ollamaConfPath = flakeRoot + "/apps/ai/ollama/ollama.conf"; in { services.ollama = { enable = true; package = pkgs.ollama; configFile = ollamaConfPath; environmentFile = builtins.readFile ollamaConfPath; wantedBy = [ "multi-user.target" ]; }; }