New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
let
|
||||
ollamaConfPath = flakeRoot + "/assets/conf/apps/ai/ollama/ollama.conf";
|
||||
ollamaEnv = builtins.readFile ollamaConfPath;
|
||||
in
|
||||
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = pkgs.ollama;
|
||||
extraConfig = lib.mkForce ollamaEnv;
|
||||
environmentFile = ollamaConfPath;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user