ollama
This commit is contained in:
parent
6bd365f84e
commit
bd49791e06
2 changed files with 10 additions and 5 deletions
|
|
@ -18,5 +18,8 @@
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
] ++ (lib.optional config.ollama.enable ./ollama.nix);
|
|
||||||
|
|
||||||
|
./ollama.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
{...}: {
|
{ options, lib, ...}: {
|
||||||
services.ollama = {
|
options = lib.mkIf options.ollama.enable {
|
||||||
enable = true;
|
services.ollama = {
|
||||||
acceleration = "rocm";
|
enable = true;
|
||||||
|
acceleration = "rocm";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue