mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
nixos/nvidia: enable modesetting by default on driver versions >= 535
This commit is contained in:
parent
c20399ea2e
commit
e708e7a14d
|
@ -101,7 +101,10 @@ in
|
|||
Enabling this and using version 545 or newer of the proprietary NVIDIA
|
||||
driver causes it to provide its own framebuffer device, which can cause
|
||||
Wayland compositors to work when they otherwise wouldn't.
|
||||
'';
|
||||
'' // {
|
||||
default = lib.versionAtLeast nvidia_x11.version "535";
|
||||
defaultText = lib.literalExpression "lib.versionAtLeast nvidia_x11.version \"535\"";
|
||||
};
|
||||
|
||||
prime.nvidiaBusId = lib.mkOption {
|
||||
type = busIDType;
|
||||
|
|
Loading…
Reference in a new issue