modules(system.services.ollama): Set acceleration in gpu conf
This commit is contained in:
parent
cda0d66117
commit
de5f89f526
3 changed files with 7 additions and 3 deletions
|
@ -14,6 +14,9 @@ in
|
|||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
# Set acceleration to cuda
|
||||
services.ollama.acceleration = "cuda";
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue