common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting
This commit is contained in:
parent
6b745e2331
commit
c5013aa7ce
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue