1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 02:29:44 +01:00

common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting

This commit is contained in:
Jörg Thalheim 2024-07-12 00:32:24 +02:00 committed by mergify[bot]
parent 6b745e2331
commit c5013aa7ce

View file

@ -4,5 +4,5 @@
imports = [ ../24.05-compat.nix ];
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
# TODO: this will be a default after https://github.com/NixOS/nixpkgs/pull/326369
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.modesetting.enable = lib.mkDefault true;
}