New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
1 parent
c094715482
commit
6b25cf6212
2 files changed
+310
-310
No files matched your search
+308
-308
File diff suppressed because it is too large.
Load diff
@@ -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