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,9 +50,11 @@
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;
OLLAMA_ORIGINS = "moz-extension://*"; environmentVariables = {
OLLAMA_ORIGINS = "moz-extension://*";
};
}; };
# Enable fish shell # Enable fish shell