summaryrefslogtreecommitdiff
path: root/modules/ollama.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ollama.nix')
-rw-r--r--modules/ollama.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/ollama.nix b/modules/ollama.nix
index 326e8c5..50b9471 100644
--- a/modules/ollama.nix
+++ b/modules/ollama.nix
@@ -1,6 +1,6 @@
{ ... }:
{
- fileSystems."/var/lib/ollama/models" = {
+ fileSystems."/models" = {
device = "/home/ollama";
fsType = "none";
options = [ "bind" ];
@@ -9,12 +9,14 @@
services.ollama = {
enable = true;
acceleration = "rocm";
- # loadModels = [
- # "deepseek-r1:14b"
- # ];
- # syncModels = true;
+ loadModels = [
+ "deepseek-r1:14b"
+ "qwen3:14b"
+ "qwen3-coder:30b"
+ ];
+ syncModels = true;
user = "ollama";
- models = "/var/lib/ollama/models";
+ models = "/models";
};
services.nextjs-ollama-llm-ui.enable = true;
}