From c666c4739c8047112552d442a4c192d4d4e7d434 Mon Sep 17 00:00:00 2001 From: Armel van Ravels Date: Fri, 20 Mar 2026 22:38:44 +0100 Subject: [PATCH] Add ollama and webui --- systems/gandalf/default.nix | 1 + systems/modules/ollama.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 systems/modules/ollama.nix diff --git a/systems/gandalf/default.nix b/systems/gandalf/default.nix index 9687772..886ff0f 100644 --- a/systems/gandalf/default.nix +++ b/systems/gandalf/default.nix @@ -18,6 +18,7 @@ ../modules/matrix.nix ../modules/kdenlive.nix ../modules/audacity.nix + ../modules/ollama.nix ]; boot.loader.systemd-boot.enable = true; diff --git a/systems/modules/ollama.nix b/systems/modules/ollama.nix new file mode 100644 index 0000000..d8d5876 --- /dev/null +++ b/systems/modules/ollama.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +{ + services.ollama = { + enable = true; + package = pkgs.ollama-cuda; + }; + + services.open-webui.enable = true; +}