Scoped environment variable to ollama

This commit is contained in:
2024-07-10 12:00:30 -03:00
parent 97125afbfa
commit 49e6bdd78a

View File

@@ -50,10 +50,12 @@
services.fwupd.enable = true; services.fwupd.enable = true;
# Ollama as a service # Ollama as a service
services.ollama.enable = true; services.ollama = {
environment.variables = { enable = true;
environmentVariables = {
OLLAMA_ORIGINS = "moz-extension://*"; OLLAMA_ORIGINS = "moz-extension://*";
}; };
};
# Enable fish shell # Enable fish shell
programs.fish.enable = true; programs.fish.enable = true;