rebuilding minimised nix files
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
{ config, lib, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
ollamaConfPath = flakeRoot.outPath + "/assets/conf/apps/ai/ollama/ollama.conf";
|
||||
envVars = builtins.fromJSON (builtins.readFile ollamaConfPath);
|
||||
in
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = pkgs.ollama;
|
||||
environmentVariables = envVars;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user