install ollama

This commit is contained in:
♥ Minnie ♥ 2024-05-07 20:43:15 +08:00
parent e42c61ffb8
commit 72c40d5291

View file

@ -74,6 +74,17 @@
}; };
displayManager.startx.enable = true; displayManager.startx.enable = true;
}; };
# Get up and running with large language models locally.
ollama = {
enable = true;
package = pkgs.unstable.ollama;
acceleration = "rocm";
# environmentVariables = {
# HSA_OVERRIDE_GFX_VERSION = "10.3.0";
# };
};
# Enable a few other services. # Enable a few other services.
ratbagd.enable = true; ratbagd.enable = true;
pcscd.enable = true; pcscd.enable = true;