From b8f8072c14799876ad4f44946ca5c3c1d89dbef2 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sat, 23 Aug 2025 15:00:44 -0500 Subject: ollama --- hosts/mercury/ai.nix | 6 ++++++ hosts/mercury/system.nix | 1 + 2 files changed, 7 insertions(+) create mode 100644 hosts/mercury/ai.nix diff --git a/hosts/mercury/ai.nix b/hosts/mercury/ai.nix new file mode 100644 index 0000000..1bece4a --- /dev/null +++ b/hosts/mercury/ai.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + services.ollama = { + enable = true; + loadModels = ["deepseek-r1:1.5b"]; + }; +} diff --git a/hosts/mercury/system.nix b/hosts/mercury/system.nix index d46a674..0e982a0 100644 --- a/hosts/mercury/system.nix +++ b/hosts/mercury/system.nix @@ -5,6 +5,7 @@ }: { imports = [ ./battery.nix + ./ai.nix inputs.nixos-facter-modules.nixosModules.facter {facter.reportPath = ./facter.json;} -- cgit v1.3.1