diff --git a/modules/system/server/ollama/default.nix b/modules/system/server/ollama/default.nix index c1bfd7d..469fb96 100644 --- a/modules/system/server/ollama/default.nix +++ b/modules/system/server/ollama/default.nix @@ -15,7 +15,7 @@ in services.ollama = { enable = true; - acceleration = if config.modules.system.hardware.nvidia.enable then "cuda" else null; + acceleration = if nvidiaEnabled then "cuda" else null; }; }; } \ No newline at end of file