summaryrefslogtreecommitdiff
path: root/modules/ollama.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-03 22:18:16 +0100
committeradikro <adikro@disroot.org>2025-12-03 22:18:16 +0100
commit611576f9ee5232dfc399843c12dfeed5d58ec9ad (patch)
tree7aca474c5b603c0b79379290e453012a71a61222 /modules/ollama.nix
parentca4e63650bfe066313ec4c5407740dbe1664e3f0 (diff)
fixed screensharing on niri (by removing hyprland), configured some shell utilities
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;
}