From 1003c33dee73bcbe92571445206c8fc9fd0e22b0 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 30 Sep 2024 15:19:29 -0600 Subject: [PATCH] [NixOS] Use myModules.nvidia in jimi-hendnix --- nixos/machines/jimi-hendnix.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/machines/jimi-hendnix.nix b/nixos/machines/jimi-hendnix.nix index 1becd7e0..16c9907d 100644 --- a/nixos/machines/jimi-hendnix.nix +++ b/nixos/machines/jimi-hendnix.nix @@ -19,9 +19,7 @@ hardware.enableRedistributableFirmware = true; - # install nvidia drivers in addition to intel one - hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; - hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; + myModules.nvidia.enable = true; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.kernelModules = [ "kvm-intel" ];