diff options
| author | adikro <adikro@disroot.org> | 2025-12-03 22:18:16 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-03 22:18:16 +0100 |
| commit | 611576f9ee5232dfc399843c12dfeed5d58ec9ad (patch) | |
| tree | 7aca474c5b603c0b79379290e453012a71a61222 /modules | |
| parent | ca4e63650bfe066313ec4c5407740dbe1664e3f0 (diff) | |
fixed screensharing on niri (by removing hyprland), configured some shell utilities
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; } |
