1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: enable cuda support globally for kroma

This commit is contained in:
oddlama 2024-06-13 13:43:01 +02:00
parent 4a58e3d9be
commit 0349d7fd8b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

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