🚚 [shared] Added shared config that shared desktop config inherits from
This commit is contained in:
8
shared/desktop/modules/development/ollama.nix
Normal file
8
shared/desktop/modules/development/ollama.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ lib, systemConfig, ... }:
|
||||
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = lib.mkIf systemConfig.nvidia.enable "cuda";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user