mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting
This commit is contained in:
parent
6b745e2331
commit
c5013aa7ce
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@
|
||||||
imports = [ ../24.05-compat.nix ];
|
imports = [ ../24.05-compat.nix ];
|
||||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||||
# TODO: this will be a default after https://github.com/NixOS/nixpkgs/pull/326369
|
# 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