New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user