From c15492d8aa38b7125dc6574c08f6a765aad44fcb Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 10 Sep 2025 03:42:47 -0700 Subject: new flake lock --- config/nix.org | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'config/nix.org') diff --git a/config/nix.org b/config/nix.org index 34c0c2e..c19fa15 100644 --- a/config/nix.org +++ b/config/nix.org @@ -694,8 +694,15 @@ Use ollama for serving large language models to my other computers. { config, lib, ... }: { services.ollama = { - enable = lib.mkDefault config.monorepo.profiles.workstation.enable; - acceleration = "cuda"; + enable = lib.mkDefault (!config.monorepo.profiles.ttyonly.enable); + acceleration = if (config.monorepo.profiles.workstation.enable) then "cuda" else null; + loadModels = [ + "qwen3:30b" + "qwen3-coder:latest" + "qwen2.5-coder:latest" + "qwen2.5-coder:3b" + "gemma3:12b-it-qat" + ]; host = "0.0.0.0"; openFirewall = true; }; @@ -3020,6 +3027,8 @@ for these configurations. packages = with pkgs; (if config.monorepo.profiles.graphics.enable then [ # wikipedia # kiwix kiwix-tools + mupdf + zathura # passwords age sops @@ -3032,7 +3041,7 @@ for these configurations. # Apps # octaveFull - vesktop grim swww vim telegram-desktop + vesktop grim swww vim telegram-desktop qwen-code # Sound/media pavucontrol alsa-utils imagemagick ffmpeg helvum -- cgit v1.3