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
|
||||
./wayland.nix
|
||||
./zsh.nix
|
||||
] ++ (lib.optional config.ollama.enable ./ollama.nix);
|
||||
|
||||
|
||||
./ollama.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
{...}: {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
{ options, lib, ...}: {
|
||||
options = lib.mkIf options.ollama.enable {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue