New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
+305
-305
File diff suppressed because it is too large
Load Diff
@@ -1645,17 +1645,17 @@ This Home Manager Nix module (ai.nix) installs the Ollama package and configures
|
||||
|
||||
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" ];
|
||||
};
|
||||
}
|
||||
|
||||
#+end_src
|
||||
|
||||
** Powermenu
|
||||
|
||||
@@ -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