New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app

This commit is contained in:
2026-02-28 14:58:20 +01:00
parent 7627e78dc8
commit bedf061d3e
3 changed files with 315 additions and 315 deletions
+309 -309
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1683,12 +1683,12 @@ in
# Start Ollama service
systemd.user.services.ollama = {
description = "Ollama service";
wantedBy = [ "default.target" ];
serviceConfig = {
Description = "Ollama service";
WantedBy = [ "default.target" ]; # Changed from multi-user.target
ExecStart = "${pkgs.ollama}/bin/ollama serve";
Restart = "on-failure";
Environment = "OLLAMA_HOST=${if ollamaHost != null then ollamaHost else "http://127.0.0.1:11434"'";
Environment = "OLLAMA_HOST=${if ollamaHost != null then ollamaHost else "http://127.0.0.1:11434"}";
};
};
}
+3 -3
View File
@@ -40,12 +40,12 @@ in
# Start Ollama service
systemd.user.services.ollama = {
description = "Ollama service";
wantedBy = [ "default.target" ];
serviceConfig = {
Description = "Ollama service";
WantedBy = [ "default.target" ]; # Changed from multi-user.target
ExecStart = "${pkgs.ollama}/bin/ollama serve";
Restart = "on-failure";
Environment = "OLLAMA_HOST=${if ollamaHost != null then ollamaHost else "http://127.0.0.1:11434"'";
Environment = "OLLAMA_HOST=${if ollamaHost != null then ollamaHost else "http://127.0.0.1:11434"}";
};
};
}