From 777fc973f02df034b5f451d050b9fea984b80ac9 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Thu, 4 Sep 2025 09:47:03 -0500 Subject: hosts/bean/common: Run ollama as a service --- hosts/bean/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/bean') diff --git a/hosts/bean/common.nix b/hosts/bean/common.nix index d0a84a3..4e4e8e8 100644 --- a/hosts/bean/common.nix +++ b/hosts/bean/common.nix @@ -79,6 +79,12 @@ in "xdg/gtk-3.0/settings.ini".source = ./gtkrc-3.ini; }; + services.ollama = { + environmentVariables = { + OLLAMA_CONTEXT_LENGTH = 8192; + }; + }; + services.joycond.enable = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; -- cgit v1.2.3