From 4244fc0a6d254c80057392cf2f7e7d15b6b6b499 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 6 Oct 2025 10:10:24 +0200 Subject: [PATCH] feat(ollama): setup deepseek. --- hosts/skadi/configuration.nix | 1 + modules/linux/nixos/ollama.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index 76a13cd..6a26c87 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -231,6 +231,7 @@ crony.wireguard.enable = true; crony.secrets.enable = true; crony.boot.enable = true; + crony.ollama.enable = true; # List packages installed in system profile environment.systemPackages = with pkgs; [ diff --git a/modules/linux/nixos/ollama.nix b/modules/linux/nixos/ollama.nix index 186be60..069b21b 100644 --- a/modules/linux/nixos/ollama.nix +++ b/modules/linux/nixos/ollama.nix @@ -10,7 +10,7 @@ config = lib.mkIf config.crony.ollama.enable { services.ollama = { enable = true; - loadModels = ["llama3.2:3b" "qwen2.5-coder:1.5b" "qwen2.5:3b"]; + loadModels = ["deepseek-r1:8b"]; acceleration = "cuda"; }; services.open-webui = {