New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
@@ -1645,11 +1645,7 @@ This Home Manager Nix module (ai.nix) installs the Ollama package and configures
|
||||
|
||||
let
|
||||
ollamaConfPath = flakeRoot + "/assets/conf/apps/ai/ollama/ollama.conf";
|
||||
envVars = {
|
||||
OLLAMA_HOST = "http://127.0.0.1:11434";
|
||||
OLLAMA_DEFAULT_MODEL = "codellama:70b";
|
||||
OLLAMA_MODELS_TO_PULL = "codellama:70b,llama3.1:70b";
|
||||
};
|
||||
envVars = builtins.fromJSON (builtins.readFile ollamaConfPath);
|
||||
in
|
||||
|
||||
{
|
||||
@@ -1657,10 +1653,10 @@ in
|
||||
enable = true;
|
||||
package = pkgs.ollama;
|
||||
environmentVariables = envVars;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#+end_src
|
||||
|
||||
** Powermenu
|
||||
|
||||
Reference in New Issue
Block a user