summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-09-13 07:34:43 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-09-13 07:34:43 -0500
commit1da0e33cc76165c238dae6ed417a1b50600f278c (patch)
tree3d2f68b2cc9942ae4c7498d3ab13ebf06cb08c70 /hosts
parentc5ac418a89fb6cb6068f4c4270b128cbf714fc41 (diff)
downloadnixos-config-1da0e33cc76165c238dae6ed417a1b50600f278c.tar.gz
nixos-config-1da0e33cc76165c238dae6ed417a1b50600f278c.zip
hosts/tomato: Install ollama from nixpkgs-unstable
Diffstat (limited to 'hosts')
-rw-r--r--hosts/tomato/packages.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/tomato/packages.nix b/hosts/tomato/packages.nix
index 9ba3c71..4de53aa 100644
--- a/hosts/tomato/packages.nix
+++ b/hosts/tomato/packages.nix
@@ -3,6 +3,8 @@
let
blender-bin = inputs.blender-bin.
packages.x86_64-linux;
+ nixpkgs-unstable = inputs.nixpkgs-unstable.
+ packages.x86_64-linux;
in
{
this.sets = {
@@ -69,6 +71,14 @@ in
virtualisation.waydroid.enable = true;
programs.adb.enable = true;
+ services.ollama = {
+ enable = true;
+ package = nixpkgs-unstable.ollama;
+ environmentVariables = {
+ OLLAMA_CONTEXT_LENGTH = "8192";
+ };
+ };
+
this.unfree.allowed = [
"shipwright"
"2ship2harkinian"