local ollama with codestral added user and group Gfx override
This commit is contained in:
parent
f4129b6154
commit
c1adef07ab
|
@ -2,9 +2,18 @@
|
||||||
{
|
{
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
group = "ollama";
|
||||||
|
user = "ollama";
|
||||||
home = "/home/geir/virtual/ollama";
|
home = "/home/geir/virtual/ollama";
|
||||||
|
rocmOverrideGfx = "9.0.0";
|
||||||
package = pkgs.ollama-rocm;
|
package = pkgs.ollama-rocm;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
loadModels = [ "codestral" ];
|
loadModels = [ "codestral" ];
|
||||||
};
|
};
|
||||||
|
users.users.geir = {
|
||||||
|
extraGroups = [
|
||||||
|
"ollama"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue