feat: a lot of stuff
This commit is contained in:
parent
9806ee2a4e
commit
bc60f155aa
19 changed files with 250 additions and 20 deletions
6
modules/ollama.nix
Normal file
6
modules/ollama.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ lib, config, ... }: lib.mkIf config.bchmnn.ai.enable {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = if config.bchmnn.nvidia.enable then "cuda" else null;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue