mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds ollama
This commit is contained in:
parent
ac38fa15e8
commit
b4d41e5e66
1 changed files with 9 additions and 0 deletions
9
modules/services/ollama.nix
Normal file
9
modules/services/ollama.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
# Optional: preload models, see https://ollama.com/library
|
||||||
|
# loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b"];
|
||||||
|
# acceleration = "rocm"; # nope, 5700XT is too old for this
|
||||||
|
};
|
||||||
|
services.open-webui.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue