mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-14 23:19:41 +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:
parent
1881126e2d
commit
684d64c67d
1 changed files with 1 additions and 3 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue