Ollama: Fix env var.
This commit is contained in:
parent
663976e4e2
commit
cc0343e2a5
|
@ -13,6 +13,7 @@ in
|
||||||
imports = [ "${inputs.nixpkgsMaster}/nixos/modules/services/misc/ollama.nix" ];
|
imports = [ "${inputs.nixpkgsMaster}/nixos/modules/services/misc/ollama.nix" ];
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.variables.OLLAMA_MODEL = cfg.primaryModel;
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = "[::1]";
|
host = "[::1]";
|
||||||
|
|
Loading…
Reference in a new issue