NVIDIA: Add Cudatoolkit to systemPackages

master
David Crompton 2024-11-04 10:20:36 -05:00
parent b61299b0b2
commit 5a889d63f0
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.cudaSupport = true; nixpkgs.config.cudaSupport = true;
# Add cuda to system environment
environment.systemPackages = with pkgs; [
cudatoolkit
];
# Use Prebuilt Cached Versions of CUDA Packages # Use Prebuilt Cached Versions of CUDA Packages
nix.settings = { nix.settings = {
substituters = [ substituters = [