mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
feat(koishi): ollama
This commit is contained in:
parent
fd54ad144f
commit
7b767c1ebe
3 changed files with 43 additions and 34 deletions
|
|
@ -75,6 +75,15 @@ _: let
|
|||
# optional, useful when the builder has a faster internet connection than yours
|
||||
services = {
|
||||
printing.enable = true;
|
||||
ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
environmentVariables = {
|
||||
#HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
|
||||
HSA_OVERRIDE_GFX_VERSION = "11.0.2";
|
||||
HSA_ENABLE_SDMA = "0";
|
||||
};
|
||||
};
|
||||
syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue