From 1cbcc1c56960826624be0e6c6894ecbd2a072406 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 18 Jun 2024 15:03:22 +0300 Subject: [PATCH] host/home: add ollama --- hosts/home/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/home/configuration.nix b/hosts/home/configuration.nix index bc8c22c..a24c72e 100644 --- a/hosts/home/configuration.nix +++ b/hosts/home/configuration.nix @@ -1,4 +1,4 @@ -{ globalData, ... }: +{ globalData, pkgs, ... }: { imports = [ @@ -31,4 +31,13 @@ virtualisation.docker.enable = true; # Torrent client services.transmission.enable = true; + + services.ollama = { + enable = true; + package = pkgs.unstable.ollama; + }; + + environment.systemPackages = with pkgs.unstable; [ + oterm + ]; }