NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lenovo Legion 16irx8h Error with given code

ComputerCrack opened this issue · comments

This message comes when I try to rebuild via "nixos-rebuild switch" :

       error: attribute 'lenovo-legion-module' missing


       at /nix/var/nix/profiles/per-user/root/channels/nixos-hardware/lenovo/legion/16irx8h/default.nix:16:31:

           15|   boot.initrd.kernelModules = ["nvidia"];
           16|   boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module config.boot.kernelPackages.nvidia_x11];
             |                               ^
           17|

lenovo-legion-module is only available in unstable channel - consider adding that to the documentation