Commit 8690c6fd0594

Vincent Demeester <vincent@sbr.pm>
2025-06-16 22:14:57
systems/kobe: still trying to make ollama+cuda work
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 1cdb6ce
Changed files (1)
systems
systems/kobe/extra.nix
@@ -14,7 +14,7 @@
 
   # networking.firewall.enable = false;
   nixpkgs.config.cudaSupport = true;
-  nixpkgs.config.rocmSupport = false;
+  nixpkgs.config.rocmSupport = lib.mkForce false;
 
   services = {
     logind.extraConfig = ''
@@ -30,7 +30,10 @@
     };
     ollama = {
       enable = true;
-      package = pkgs.ollama.override { config.cudaSupport = true; };
+      package = pkgs.ollama.override {
+        config.cudaSupport = true;
+        config.rocmSupport = false;
+      };
       acceleration = "cuda"; # no nivida :D
     };
     smartd = {