From 0349d7fd8b57ea6d59454d3be348b90f104d63dc Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 13 Jun 2024 13:43:01 +0200 Subject: [PATCH] chore: enable cuda support globally for kroma --- hosts/kroma/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/kroma/default.nix b/hosts/kroma/default.nix index 9e69759..ed71fcc 100644 --- a/hosts/kroma/default.nix +++ b/hosts/kroma/default.nix @@ -33,6 +33,7 @@ ]; nixpkgs.hostPlatform = "x86_64-linux"; + nixpkgs.config.cudaSupport = true; boot.mode = "efi"; boot.kernelModules = ["nvidia_uvm"]; # FIXME: For some reason this doesn't load automatically for me, causing CUDA_ERROR_UNKNOWN (999) issues when trying to cuInit boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];