[NixOS] Use myModules.nvidia in jimi-hendnix

This commit is contained in:
Ivan Malison 2024-09-30 15:19:29 -06:00
parent a493a530be
commit 1003c33dee

View File

@ -19,9 +19,7 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
# install nvidia drivers in addition to intel one myModules.nvidia.enable = true;
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];