New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app
This commit is contained in:
+308
-308
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, flakeRoot,... }:
|
||||||
let
|
let
|
||||||
# Path to the config file (relative to your flake or Home Manager root)
|
# 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)
|
# Read and parse the config file (assuming it's in shell variable format)
|
||||||
ollamaConf = builtins.readFile ollamaConfPath;
|
ollamaConf = builtins.readFile ollamaConfPath;
|
||||||
# Extract values using regex (adjust if your format differs)
|
# Extract values using regex (adjust if your format differs)
|
||||||
|
|||||||
Reference in New Issue
Block a user