1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

Apply suggestions from code review

Accepting suggestions. 16irx8h should be fixed as well.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Felipe Mica 2024-11-04 22:49:10 +00:00 committed by mergify[bot]
parent 1881126e2d
commit 684d64c67d

View file

@ -12,12 +12,10 @@
../../../common/hidpi.nix ../../../common/hidpi.nix
]; ];
boot.initrd.kernelModules = ["nvidia"]; boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module];
boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module config.boot.kernelPackages.nvidia_x11];
hardware = { hardware = {
nvidia = { nvidia = {
modesetting.enable = lib.mkDefault true;
powerManagement.enable = lib.mkDefault true; powerManagement.enable = lib.mkDefault true;
# #
prime = { prime = {