From 35e3ee3b5f1fb3f211204d3bf0a37f55370a0d79 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 17 Apr 2025 12:00:00 +0100 Subject: [PATCH] Enable ollama and Open WebUI --- hosts/t480/configuration.nix | 1 + hosts/t480/modules/ollama.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 hosts/t480/modules/ollama.nix diff --git a/hosts/t480/configuration.nix b/hosts/t480/configuration.nix index 0183b98e..70d39844 100644 --- a/hosts/t480/configuration.nix +++ b/hosts/t480/configuration.nix @@ -52,6 +52,7 @@ in ./modules/cron.nix ./modules/neomutt.nix ./modules/newsboat + ./modules/ollama.nix ./modules/wiki.nix ]; diff --git a/hosts/t480/modules/ollama.nix b/hosts/t480/modules/ollama.nix new file mode 100644 index 00000000..0b37ce99 --- /dev/null +++ b/hosts/t480/modules/ollama.nix @@ -0,0 +1,10 @@ +{ + services = { + ollama = { + enable = true; + acceleration = "rocm"; + }; + + open-webui.enable = true; + }; +}