From 684d64c67de1ea348a94ec487a5bad7d437ed610 Mon Sep 17 00:00:00 2001 From: Felipe Mica Date: Mon, 4 Nov 2024 22:49:10 +0000 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Accepting suggestions. 16irx8h should be fixed as well. Co-authored-by: Jörg Thalheim --- lenovo/legion/16irx9h/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lenovo/legion/16irx9h/default.nix b/lenovo/legion/16irx9h/default.nix index 6d9c772..e117302 100644 --- a/lenovo/legion/16irx9h/default.nix +++ b/lenovo/legion/16irx9h/default.nix @@ -12,12 +12,10 @@ ../../../common/hidpi.nix ]; - boot.initrd.kernelModules = ["nvidia"]; - boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module config.boot.kernelPackages.nvidia_x11]; + boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module]; hardware = { nvidia = { - modesetting.enable = lib.mkDefault true; powerManagement.enable = lib.mkDefault true; # prime = {