diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-10 03:42:47 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-10 03:42:47 -0700 |
| commit | c15492d8aa38b7125dc6574c08f6a765aad44fcb (patch) | |
| tree | 6e375fc303a95ff39840cffe63239cb494dbe522 /config/nix.org | |
| parent | 81ddf52e30fe32da76b8f9162a8208d8d0b62ccc (diff) | |
new flake lock
Diffstat (limited to 'config/nix.org')
| -rw-r--r-- | config/nix.org | 15 |
1 files changed, 12 insertions, 3 deletions
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 |
