From: Preston Pan Date: Wed, 10 Sep 2025 10:42:30 +0000 (-0700) Subject: new flake lock X-Git-Url: https://ret2pop.net/gitweb/%22./%22/%22../index.html/static/gitweb.css?a=commitdiff_plain;h=81ddf52e30fe32da76b8f9162a8208d8d0b62ccc;p=monorepo.git new flake lock --- diff --git a/nix/modules/home/user.nix b/nix/modules/home/user.nix index 12bba2e..d0cad9a 100644 --- a/nix/modules/home/user.nix +++ b/nix/modules/home/user.nix @@ -26,6 +26,8 @@ packages = with pkgs; (if config.monorepo.profiles.graphics.enable then [ # wikipedia # kiwix kiwix-tools + mupdf + zathura # passwords age sops @@ -38,7 +40,7 @@ # Apps # octaveFull - vesktop grim swww vim telegram-desktop + vesktop grim swww vim telegram-desktop qwen-code # Sound/media pavucontrol alsa-utils imagemagick ffmpeg helvum diff --git a/nix/modules/ollama.nix b/nix/modules/ollama.nix index 736d5a4..33c41c9 100644 --- a/nix/modules/ollama.nix +++ b/nix/modules/ollama.nix @@ -1,8 +1,15 @@ { 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; };