From 611576f9ee5232dfc399843c12dfeed5d58ec9ad Mon Sep 17 00:00:00 2001 From: adikro Date: Wed, 3 Dec 2025 22:18:16 +0100 Subject: fixed screensharing on niri (by removing hyprland), configured some shell utilities --- modules/boot.nix | 3 ++- modules/ollama.nix | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'modules') 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; } -- cgit v1.3