feat: a lot of stuff

This commit is contained in:
Jacob Bachmann 2024-04-16 20:37:08 +02:00
parent 9806ee2a4e
commit bc60f155aa
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
19 changed files with 250 additions and 20 deletions

6
modules/ollama.nix Normal file
View 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;
};
}