mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-01 22:51:07 +01:00
add lenovo loq 15ahp10 configuration
This commit is contained in:
parent
d6645c340e
commit
bb1bd6d347
3 changed files with 66 additions and 0 deletions
14
common/gpu/nvidia/blackwell/default.nix
Normal file
14
common/gpu/nvidia/blackwell/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
nvidiaPackage = config.hardware.nvidia.package;
|
||||
in
|
||||
{
|
||||
imports = [ ../. ];
|
||||
|
||||
# enable the open source drivers if the package supports it
|
||||
hardware.nvidia.open = lib.mkOverride 990 (nvidiaPackage ? open && nvidiaPackage ? firmware);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue