rebuilding nix files

This commit is contained in:
2026-02-28 11:23:18 +01:00
parent 5c4f8a44e3
commit 48d2ccfd65
3 changed files with 333 additions and 330 deletions
+315 -314
View File
File diff suppressed because it is too large Load Diff
+9 -8
View File
@@ -1650,14 +1650,15 @@ let
AiRepoConf = flakeRoot + "/assets/conf/apps/ai/ai.conf"; AiRepoConf = flakeRoot + "/assets/conf/apps/ai/ai.conf";
# Read and parse the environment file # Read and parse the environment file
envVars = lib.genAttrs (map ( envVars = lib.genAttrs (
line: let builtins.map (
parts = builtins.split "=" line; line: let
key = builtins.elemAt parts 0; parts = builtins.split "=" line;
value = builtins.elemAt parts 1; key = builtins.elemAt parts 0;
in { name = key; value = value; } value = builtins.elemAt parts 1;
) (lib.lines (builtins.readFile (toString AiRepoEnv)))) in { name = key; value = value; }
(entry: entry.name); ) (builtins.split "\n" (builtins.readFile (toString AiRepoEnv)))
) (entry: entry.name);
in in
{ {
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD). # Install ZED editor and Ollama with Vulkan support (for CPU/AMD).
+9 -8
View File
@@ -5,14 +5,15 @@ let
AiRepoConf = flakeRoot + "/assets/conf/apps/ai/ai.conf"; AiRepoConf = flakeRoot + "/assets/conf/apps/ai/ai.conf";
# Read and parse the environment file # Read and parse the environment file
envVars = lib.genAttrs (map ( envVars = lib.genAttrs (
line: let builtins.map (
parts = builtins.split "=" line; line: let
key = builtins.elemAt parts 0; parts = builtins.split "=" line;
value = builtins.elemAt parts 1; key = builtins.elemAt parts 0;
in { name = key; value = value; } value = builtins.elemAt parts 1;
) (lib.lines (builtins.readFile (toString AiRepoEnv)))) in { name = key; value = value; }
(entry: entry.name); ) (builtins.split "\n" (builtins.readFile (toString AiRepoEnv)))
) (entry: entry.name);
in in
{ {
# Install ZED editor and Ollama with Vulkan support (for CPU/AMD). # Install ZED editor and Ollama with Vulkan support (for CPU/AMD).