forked from mirrors_public/oddlama_nix-config
chore: enable cuda support globally for kroma
This commit is contained in:
parent
4a58e3d9be
commit
0349d7fd8b
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
nixpkgs.config.cudaSupport = true;
|
||||||
boot.mode = "efi";
|
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.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"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue