From 5a889d63f09fe8aa1d84a4d30c8fd309e2dea9a2 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Mon, 4 Nov 2024 10:20:36 -0500 Subject: [PATCH] NVIDIA: Add Cudatoolkit to systemPackages --- machines/kcnhub/nvidia.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/kcnhub/nvidia.nix b/machines/kcnhub/nvidia.nix index 7b105c5..822c1d4 100644 --- a/machines/kcnhub/nvidia.nix +++ b/machines/kcnhub/nvidia.nix @@ -34,6 +34,11 @@ nixpkgs.config.allowUnfree = true; nixpkgs.config.cudaSupport = true; + # Add cuda to system environment + environment.systemPackages = with pkgs; [ + cudatoolkit + ]; + # Use Prebuilt Cached Versions of CUDA Packages nix.settings = { substituters = [