aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-08-23 15:00:44 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-08-23 15:00:44 -0500
commitb8f8072c14799876ad4f44946ca5c3c1d89dbef2 (patch)
tree70d1a431a98519918bdf0d15de96ccb6d010671d /hosts/mercury
parent2a2c7816e96dae5f0f59363aac20c47781a2f936 (diff)
ollama
Diffstat (limited to 'hosts/mercury')
-rw-r--r--hosts/mercury/ai.nix6
-rw-r--r--hosts/mercury/system.nix1
2 files changed, 7 insertions, 0 deletions
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;}