1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Revert "cuda: build ollama"

This reverts commit fb86f8c7f7.
This commit is contained in:
2026-03-04 08:40:46 +01:00
parent 8fe9e80522
commit 6bb16ff6ed

View File

@@ -1,4 +1,3 @@
{ pkgs, ... }:
{ {
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
@@ -22,14 +21,7 @@
}; };
}; };
services.ollama = {
enable = true;
acceleration = "cuda"; # Force it to use the MX150
package = pkgs.ollama-cuda;
};
nix.settings.system-features = [ "cuda" ]; nix.settings.system-features = [ "cuda" ];
nixpkgs.config.cudaCapabilities = [ "6.1" ];
programs.nix-required-mounts = { programs.nix-required-mounts = {
enable = true; enable = true;