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"];