From de3e8a3340240a8e398196c027eafc69dc80c6cf Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sun, 15 Dec 2024 05:22:37 +0100 Subject: [PATCH] hosts/main: enable ollama --- hosts/main/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/main/default.nix b/hosts/main/default.nix index 006239a..f6aee98 100644 --- a/hosts/main/default.nix +++ b/hosts/main/default.nix @@ -71,6 +71,13 @@ hardware.i2c.enable = true; services.hardware.openrgb.enable = true; + services.ollama = { + enable = true; + port = 1434; + acceleration = "cuda"; + host = "0.0.0.0"; + }; + system.stateVersion = "23.05"; }; }