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:46:42 +01:00
parent c094715482
commit 6b25cf6212
2 changed files with 310 additions and 310 deletions
+308 -308
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, ... }:
{ lib, config, pkgs, flakeRoot,... }:
let
# Path to the config file (relative to your flake or Home Manager root)
ollamaConfPath = ./assets/conf/apps/ai/ollama/ollama.conf;
ollamaConfPath = flakeRoot + "/assets/conf/apps/ai/ollama/ollama.conf";
# Read and parse the config file (assuming it's in shell variable format)
ollamaConf = builtins.readFile ollamaConfPath;
# Extract values using regex (adjust if your format differs)