add ollama

This commit is contained in:
Harald Hoyer 2024-11-19 10:27:28 +01:00
parent 5aaa1fb417
commit 0d5229036a
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1 @@
{ channels, ... }:
final: prev:
{
inherit (channels.unstable) jetbrains-toolbox;
}
{ channels, ... }: final: prev: { inherit (channels.unstable) jetbrains-toolbox ollama; }

View file

@ -23,6 +23,7 @@ with lib.metacfg;
kubectx
k9s
attic-client
ollama
];
services.resolved.enable = true;
@ -54,5 +55,10 @@ with lib.metacfg;
{ domain = "*"; item = "memlock"; type = "-"; value = "32768"; }
];
services.ollama = {
enable = true;
acceleration = "rocm";
};
system.stateVersion = "23.11";
}