aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-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;}