1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-12 22:19:40 +01:00
nixos-hardware/common/gpu/nvidia/turing/default.nix

11 lines
265 B
Nix
Raw Normal View History

{lib, config, ...}:
let
nividiaPackage = config.hardware.nvidia.package;
in
{
imports = [ ../. ];
2024-09-01 20:09:28 +02:00
# enable the open source drivers if the package supports it
hardware.nvidia.open = lib.mkOverride 990 (nividiaPackage ? open && nividiaPackage ? firmware);
}