mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-28 20:29:10 +00:00
Ollama and update
This commit is contained in:
parent
6ab03d4cb5
commit
cce1e33c23
3 changed files with 19 additions and 7 deletions
16
nixos/modules/ollama.nix
Normal file
16
nixos/modules/ollama.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Add Ollama and OpenWebUI
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
loadModels = [ deepseek-r1:32b ];
|
||||
acceleration = "rocm";
|
||||
rocmOverrideGfx = "11.0.0";
|
||||
environmentVariables = {
|
||||
HSA_OVERRIDE_GFX_VERSION = "11.0.0";
|
||||
};
|
||||
};
|
||||
|
||||
services.open-webui.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue