From 9b9ad93a88e19d6ce675f70cddc4e32cbcde5460 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 19 Sep 2024 21:50:11 +0800 Subject: [PATCH] feat(hosts/idols-ai): enable cudaSupport globally --- hosts/idols-ai/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/idols-ai/default.nix b/hosts/idols-ai/default.nix index a31b048e..e8618b1f 100644 --- a/hosts/idols-ai/default.nix +++ b/hosts/idols-ai/default.nix @@ -46,6 +46,8 @@ in { # needed by nvidia-docker enable32Bit = true; }; + # https://nixos.org/manual/nixpkgs/unstable/#opt-cudaSupport + nixpkgs.config.cudaSupport = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions