diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/boot.nix | 3 | ||||
| -rw-r--r-- | modules/ollama.nix | 14 |
2 files changed, 10 insertions, 7 deletions
diff --git a/modules/boot.nix b/modules/boot.nix index 587b43f..0054804 100644 --- a/modules/boot.nix +++ b/modules/boot.nix @@ -18,6 +18,7 @@ "quiet" ]; # kernelPackages = pkgs.linuxPackages_cachyos-lto.cachyOverride { mArch = "ZEN4"; }; - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_zen; + # kernelPackages = pkgs.linuxPackages_6_12; }; } 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; } |
